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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov eax, ecx
mov ebx, edx
push esi
push edi
mov dword [esp + 0x24], eax
mov edi, dword [eax]
mov dword [esp + 0x2c], edi
mov esi, dword [edi + 8]
test esi, esi
jne 0x493a1f
cmp dword [edi + 0x78], esi
jne 0x493a12
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x493a12
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0042a0d0
mov esi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x493a38
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
jmp 0x493a47
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0xa0]
mov al, byte [edi + 0x13]
mov dword [esp + 0x14], ecx
test al, al
jne 0x493a5a
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x493a69
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0xa0]
inc dword [edi + 0x2c]
dec dword [edi + 0x38]
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x38]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0x6a
mov dword [esp + 0x24], eax
call fcn.00491c10
mov edx, dword [ebp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x24]
push dword [esp + 0x10]
call fcn.00491c10
mov eax, dword [esp + 0x2c]
add esp, 4
mov cl, byte [eax + 0x10]
test cl, 1
je 0x493adb
cmp ebx, 0x36
je 0x493ace
xor eax, eax
cmp ebx, 0x39
setne al
lea ebx, [eax*2 + 0x37]
jmp 0x493ad3
mov ebx, 0x38
mov dword [esp + 0x18], 0x6b
test cl, 2
je 0x493c4f
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x70], ecx
jg 0x493b0e
push 0
push 0
push edx
mov edx, 0x33
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x493b3d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, ebx
sub eax, 0x36
je 0x493b5e
sub eax, 1
je 0x493b57
sub eax, 2
jne 0x493b74
push dword [ebp + 0x14]
lea edx, [eax + 9]
push eax
jmp 0x493b6a
mov edx, 0x32
jmp 0x493b63
mov edx, 0x33
push dword [ebp + 0x14]
push dword [esp + 0x14]
mov ecx, esi
call fcn.0042a540
add esp, 8
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x70], ecx
jg 0x493b96
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x493bc5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x493bd7
mov eax, 0x60992c
jmp 0x493be4
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp ebx, 0x36
je 0x493bf4
mov eax, dword [ebp + 0x14]
cmp ebx, 0x39
jne 0x493bf8
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], ecx
jg 0x493c1c
push 0
push eax
push dword [esp + 0x18]
mov edx, 0x32
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x493c4f
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x493c72
push 0
push dword [esp + 0x20]
mov edx, 0x75
mov ecx, esi
push 0
call fcn.0042a3d0
add esp, 0xc
mov edx, eax
jmp 0x493ca9
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push 0x5cbbd8
mov ecx, esi
call fcn.0042b440
mov ecx, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x70], ecx
jg 0x493ce9
push dword [esp + 0x14]
mov edx, 0x39
mov ecx, esi
push 0
push dword [esp + 0x24]
call fcn.0042a3d0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x493d1c
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x39
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp ebx, 0x39
jne 0x493d2a
cmp dword [esp + 0x18], 0x6a
je 0x493d36
jmp 0x493d8e
cmp ebx, 0x37
jne 0x493d8e
cmp dword [esp + 0x18], 0x6b
jne 0x493d8e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x493d54
push edx
push dword [ebp + 0x14]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x18]
call fcn.0042a3d0
add esp, 0xc
jmp 0x493d8e
lea eax, [ecx + 1]
xor edx, edx
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov byte [eax + ecx*4], bl
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x493db3
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x18]
push eax
push eax
push dword [ebp + 0xc]
call fcn.0042a3d0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x493dec
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov byte [ecx + 1], 0
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x493e02
mov eax, 0x60992c
jmp 0x493e0f
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x493e34
push edx
push dword [ebp + 0x14]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x18]
call fcn.0042a3d0
add esp, 0xc
jmp 0x493e6a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esp + 0x28]
mov ecx, edi
mov ebx, dword [esp + 0x10]
mov edx, dword [eax + 8]
call fcn.00441920
mov edx, eax
test edx, edx
jne 0x493e87
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x493e9f
push edx
mov edx, 0xfffffffe
call fcn.0042b1b0
add esp, 4
jmp 0x493eb1
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xfe
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x493ec8
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x493ee6
push edx
mov edx, esi
call fcn.0042ac00
add esp, 4
jmp 0x493eef
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x493f0b
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x493f0b
movzx eax, al
mov dword [edi + eax*4 + 0xa0], ecx
inc byte [edi + 0x13]
test ebx, ebx
je 0x493f23
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x493f23
movzx eax, al
mov dword [edi + eax*4 + 0xa0], ebx
inc byte [edi + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret