Function at 0x49259c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4c8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], 0x6bbce4
mov dword [ebp - 0xc4], esp
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xc0], 0
mov dword [ebp - 0xb4], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0xd0], ecx
lea eax, [ebp - 0xd0]
mov dword fs:[0], eax
mov word [ebp - 0xc0], 8
xor edx, edx
mov dword [ebp - 0xd4], edx
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xd8], 0x6ff378
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xdc], edx
mov ecx, dword [ebp - 0xdc]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x160], eax
je 0x49264c
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xe4], 0x6ff378
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp - 0xe8]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x170], edx
je 0x4926a5
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xec], 0x40
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
cmp eax, edx
jbe 0x4926e6
lea ecx, [ebp - 0xf0]
jmp 0x4926ec
lea ecx, [ebp - 0xec]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
inc dword [ebp - 0xb4]
inc dword [ebp - 0xb4]
mov word [ebp - 0xc0], 0x38
push esi
call fcn.00493434
pop ecx
mov ebx, dword [0x6badc8]
add ebx, 0x90
lea eax, [ebx + 0x50]
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.0069a2e0
add esp, 8
lea ecx, [ebx + 0x60]
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0069a2e0
add esp, 8
lea edx, [ebx + 0x70]
push edx
lea ecx, [ebp - 0x20]
push ecx
call fcn.004045a0
add esp, 8
mov al, byte [ebx]
mov byte [ebp - 0x90], al
mov dl, byte [ebx + 1]
mov byte [ebp - 0x8f], dl
mov cl, byte [ebx + 2]
mov byte [ebp - 0x8e], cl
mov al, byte [ebx + 3]
mov byte [ebp - 0x8d], al
mov dl, byte [ebx + 4]
mov byte [ebp - 0x8c], dl
mov cl, byte [ebx + 5]
mov byte [ebp - 0x8b], cl
mov al, byte [ebx + 6]
mov byte [ebp - 0x8a], al
mov dl, byte [ebx + 7]
mov byte [ebp - 0x89], dl
mov cl, byte [ebx + 8]
mov byte [ebp - 0x88], cl
mov al, byte [ebx + 9]
mov byte [ebp - 0x87], al
mov dl, byte [ebx + 0xa]
mov byte [ebp - 0x86], dl
mov cl, byte [ebx + 0xb]
mov byte [ebp - 0x85], cl
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x84], al
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x78], eax
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x60], eax
mov edx, dword [ebx + 0x34]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x54], eax
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x48], eax
mov edx, dword [ebx + 0x4c]
mov dword [ebp - 0x44], edx
xor ebx, ebx
jmp 0x492c18
mov word [ebp - 0xc0], 0x44
xor eax, eax
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov eax, 0x6ff378
mov dword [ebp - 0x98], eax
mov eax, 0x6ff36c
mov ecx, dword [edx + 8]
cmp eax, 0x6ff36c
mov dword [ebp - 0x180], ecx
je 0x492865
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0xb4]
inc dword [ebp - 0xb4]
mov edi, ebx
mov word [ebp - 0xc0], 0x5c
shl edi, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + edi + 8]
push ecx
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x4928b5
push 0x15e
lea edx, [ebp - 0x2e8]
push edx
push 0x7ff
mov ecx, dword [esi + 0x20]
push ecx
call sub.USER32.DLL_LoadStringA
jmp 0x492b19
push str.HandleClientEvent
mov eax, dword [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
jne 0x4928e9
push str._HandleClientEvent
mov eax, dword [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x492af3
push 0x15e
lea ecx, [ebp - 0x2e8]
push ecx
push 0x7fe
mov eax, dword [esi + 0x20]
push eax
call sub.USER32.DLL_LoadStringA
mov eax, ebx
shl eax, 4
mov edx, dword [ebp - 0x1c]
add eax, edx
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0069a2e0
lea eax, [esi + 0x28]
add esp, 8
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0x18]
cmp ecx, edx
je 0x492ad1
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xac], edx
test edx, edx
je 0x492ac5
mov word [ebp - 0xc0], 0x74
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa4]
mov dword [eax + 4], edx
xor eax, eax
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0xfc], eax
add edi, 8
mov edx, dword [ebp - 0xfc]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x492a19
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0x100]
mov dword [edi + 8], ecx
mov dword [ebp - 0x104], edi
mov eax, dword [ebp - 0x104]
mov edx, dword [eax + 8]
mov dword [ebp - 0xaf0], edx
mov ecx, dword [edi + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x108], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x108]
cmp eax, edx
je 0x492ab0
mov ecx, dword [ebp - 0x108]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x492ab0
mov eax, dword [ebp - 0x98]
mov edx, dword [eax - 4]
mov dword [ebp - 0x10c], edx
mov ecx, dword [ebp - 0x10c]
push ecx
mov eax, dword [ebp - 0x10c]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
add edx, 0xc
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
mov dword [edi + 8], ecx
mov dword [ebp - 0x118], edi
mov eax, dword [ebp - 0x118]
mov edx, dword [eax + 8]
mov dword [ebp - 0xb00], edx
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x120], eax
mov edx, dword [edi + 8]
mov dword [ebp - 0x124], edx
mov ecx, dword [ebp - 0x11c]
push ecx
mov eax, dword [ebp - 0x120]
push eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xb4]
dec dword [ebp - 0xb4]
mov word [ebp - 0xc0], 0x68
mov ecx, dword [ebp - 0xf4]
add dword [ecx + 8], 0x18
jmp 0x492b19
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebp - 0xf4]
mov ecx, dword [edx + 8]
push ecx
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00492dd8
add esp, 0xc
jmp 0x492b19
push 0x15e
lea edx, [ebp - 0x2e8]
push edx
push 0x800
mov ecx, dword [esi + 0x20]
push ecx
call sub.USER32.DLL_LoadStringA
mov eax, dword [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
mov eax, ebx
shl eax, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + eax + 8]
push ecx
lea eax, [ebp - 0x2e8]
push eax
lea edx, [ebp - 0xae8]
push edx
call fcn.006a0ad0
add esp, 0xc
lea ecx, [ebp - 0xae8]
push 0xffffffffffffffff
push ecx
push 0x12
call fcn.005fb108
add esp, 0xc
dec dword [ebp - 0xb4]
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x492c05
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x492bab
mov edi, dword [ebp - 0x98]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x492ba2
cmp edi, 0x6ff36c
je 0x492b9b
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x492ba7
mov eax, 1
jmp 0x492ba7
mov eax, 1
test eax, eax
jne 0x492c05
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff4
mov dword [ebp - 0x128], edx
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff4
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x130], edx
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xb10], ecx
mov word [ebp - 0xc0], 0x5c
mov word [ebp - 0xc0], 0x38
inc ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
test eax, eax
jns 0x492c27
add eax, 0xf
sar eax, 4
cmp ebx, eax
jb 0x492824
dec dword [ebp - 0xb4]
dec dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.0040445c
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
push eax
call fcn.0067ac7c
pop ecx
mov word [ebp - 0xc0], 0x38
dec dword [ebp - 0xb4]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x492d0c
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x492cbe
mov ebx, dword [ebp - 0x28]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x492cb5
cmp ebx, 0x6ff36c
je 0x492cae
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x492cba
mov eax, 1
jmp 0x492cba
mov eax, 1
test eax, eax
jne 0x492d0c
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff4
mov dword [ebp - 0x13c], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov dword [ebp - 0x140], ecx
mov eax, dword [ebp - 0x140]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x144], edx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xb20], ecx
dec dword [ebp - 0xb4]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x492da7
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x492d59
mov ebx, dword [ebp - 0x38]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x492d50
cmp ebx, 0x6ff36c
je 0x492d49
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x492d55
mov eax, 1
jmp 0x492d55
mov eax, 1
test eax, eax
jne 0x492da7
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff4
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xb30], ecx
mov eax, dword [ebp - 0xd0]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret