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

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x5398ff
cmp dword [ecx + 0x74], esi
jne 0x5398f4
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x5398f4
mov byte [ecx + 0x17], 1
push ecx
call fcn.005137c0
add esp, 4
mov esi, eax
test edi, edi
je 0x539c07
lea eax, [edi + 0x58]
push ebx
mov dword [esp + 0xc], eax
push ebp
cmp dword [eax], 0
jne 0x539a49
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x1000
je 0x539a49
cmp byte [edi + 0x11], 0x5a
je 0x539a49
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x38]
cmp dword [esi + 0x78], ecx
jg 0x539950
push 0
push edx
push 0
push 0x4a
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x53997f
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
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 ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x53999c
push 0
push 0
push edx
push 0x22
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x5399cb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x22
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 ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x5399ea
push edx
push 0
push ebx
push 0x5d
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x539a15
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
lea ecx, [edx - 2]
test ecx, ecx
jns 0x539a22
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x539a37
mov eax, 0x610b1c
mov dword [eax + 8], edx
jmp 0x539bf6
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x539bf6
cmp dword [edi + 0x40], 0
jne 0x539bf6
mov eax, dword [edi + 0x48]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x539a61
mov edx, dword [edx]
jmp 0x539a63
xor edx, edx
cmp dword [esp + 0x1c], 0
mov ecx, dword [esi + 0x74]
je 0x539b7e
mov ebx, dword [edi + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x539a8d
push 0
push edx
push ebx
push 0xa4
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x539ab8
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa4
mov dword [eax + ecx*4 + 4], ebx
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 [edi + 0x2c]
cmp byte [eax + 0x57], 0
je 0x539ad1
push edx
push 0xfffffffffffffff8
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x539ae3
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x38]
mov ebx, dword [edi + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x539b02
push 0
push edx
push ebx
push 0x4f
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x539b2d
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x539b4d
push 0
push edx
push 0
push 0x4a
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x539bf6
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
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
jmp 0x539bf6
mov ebx, dword [edi + 0x38]
mov ebp, dword [edi + 0x34]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x78], ecx
jg 0x539ba0
push ebx
push edx
push ebp
push 0xa3
push esi
call fcn.004c7840
add esp, 0x14
jmp 0x539bcb
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa3
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [edi + 0x2c]
cmp byte [eax + 0x57], 0
je 0x539be4
push edx
push 0xfffffffffffffff8
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x539bf6
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov edi, dword [edi + 0x24]
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x539910
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret