Function at 0x493800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x501cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x630ddc]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x630ddc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1c], esi
jbe 0x49394b
mov eax, dword [esi + 8]
mov edi, dword [eax]
add esi, 4
mov eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
lea esp, [esp]
cmp eax, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], ecx
je 0x49386f
cmp eax, esi
je 0x493878
call fcn.004b83f7
mov eax, dword [esp + 0x14]
cmp edi, dword [esp + 0x2c]
je 0x493925
cmp eax, ebx
jne 0x49388f
call fcn.004b83f7
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 4]
jne 0x49389d
call fcn.004b83f7
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 4]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x20], edx
jne 0x4938ae
call fcn.004b83f7
push 0xffffffffffffffff
lea eax, [edi + 0xc]
push ebx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403500
mov ecx, 0x6322f8
mov dword [esp + 0x78], ebx
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
mov ecx, eax
call edx
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x78], 0xffffffff
jb 0x49390f
mov eax, dword [esp + 0x34]
push eax
call fcn.004a5792
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0046bce0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x493860
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.0046dd20
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x18], ebx
jbe 0x493a5e
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx]
lea eax, [esi + 0x10]
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x14]
add esi, 0x10
cmp eax, ebx
mov dword [esp + 0x2c], ecx
je 0x493978
cmp eax, esi
je 0x493981
call fcn.004b83f7
mov eax, dword [esp + 0x14]
cmp edi, dword [esp + 0x2c]
je 0x493a38
cmp eax, ebx
jne 0x493998
call fcn.004b83f7
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 4]
jne 0x4939a2
call fcn.004b83f7
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 4]
mov esi, dword [edi + 0x28]
jne 0x4939b3
call fcn.004b83f7
push 0xffffffffffffffff
lea eax, [edi + 0xc]
push ebx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00403500
mov ecx, 0x6322f8
mov dword [esp + 0x78], 1
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
mov ecx, eax
call edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x78], 0xffffffff
jb 0x493a1e
mov eax, dword [esp + 0x34]
push eax
call fcn.004a5792
add esp, 4
lea ecx, [esp + 0x14]
call fcn.0046bce0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x493966
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.0046dd20
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x24], ebx
jbe 0x493b61
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
lea edi, [esi + 0x1c]
mov esi, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
lea esp, [esp]
cmp esi, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], ecx
je 0x493a8f
cmp esi, edi
je 0x493a94
call fcn.004b83f7
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x24], edx
je 0x493b3b
cmp esi, ebx
jne 0x493aab
call fcn.004b83f7
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 4]
jne 0x493ab9
call fcn.004b83f7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, dword [ecx + 0x28]
mov eax, ecx
cmp eax, dword [edx + 4]
jne 0x493ad0
call fcn.004b83f7
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
add eax, 0xc
push ebx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00403500
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x64], 0x10
jb 0x493b19
mov edx, dword [esp + 0x50]
push edx
call fcn.004a5792
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0046bce0
mov esi, dword [esp + 0x20]
jmp 0x493a80
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.0046dd20
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x34]
jbe 0x493b8c
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x98]
call eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 4]
add esi, 0x28
push edx
mov ecx, esi
call fcn.004505e0
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x38]
push ecx
mov ecx, esi
call fcn.0046dd20
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov ecx, 0x6322f8
mov dword [esi + 8], esi
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b6bdf
mov esp, ebp
pop ebp
ret