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

Disassembly:
push 0x2c
push 0x523a9bf0
call fcn.523a8484
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
push 0x409
push eax
push eax
push eax
push eax
call fcn.523a4c74
push 0x80
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.52395986
mov edi, eax
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0xcc]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0xdc]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0xbc]
sub eax, ecx
sar eax, 4
mov dword [ebp + 8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x2c]
mov dword [edi], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 4], eax
mov ecx, esi
call fcn.52387c38
mov dword [edi + 8], eax
movzx eax, word [esi + 0x3c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x158]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x108]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x118]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0xf8]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x148]
mov dword [edi + 0x78], eax
test byte [esi + 0x2c], 2
je 0x523a4e30
cmp dword [esi + 0xf8], 0
je 0x523a4e0d
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x5c], eax
push dword [esi + 0xf8]
push dword [esi + 0xfc]
mov ecx, ebx
call fcn.52395ac3
jmp 0x523a4e11
and dword [edi + 0x5c], 0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 8]
shl eax, 3
push eax
push dword [esi + 0xf4]
mov ecx, ebx
call fcn.52395a41
jmp 0x523a4e38
and dword [edi + 0x5c], 0
and dword [edi + 0x54], 0
test byte [esi + 0x2c], 4
je 0x523a4e5b
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
mov ecx, esi
call fcn.52387c38
push eax
push dword [esi + 0x40]
mov ecx, ebx
call fcn.52395ac3
jmp 0x523a4e5f
and dword [edi + 0x10], 0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push eax
mov ecx, ebx
call fcn.52395c07
mov dword [edi + 0x74], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
shl eax, 2
mov edx, eax
shr edx, 2
cmp ecx, edx
jne 0x523a5137
push 1
push 0
push eax
call fcn.52394459
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x68]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
test ecx, ecx
je 0x523a4ed0
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x24], 4
add eax, 0x10
jmp 0x523a4eb2
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x20], eax
push dword [ebp + 8]
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
test ecx, ecx
je 0x523a4f1d
mov cl, byte [eax + 0xe]
mov edx, dword [ebp - 0x2c]
mov byte [edx], cl
inc dword [ebp - 0x2c]
mov cl, byte [eax + 0xf]
mov edx, dword [ebp - 0x2c]
mov byte [edx], cl
inc dword [ebp - 0x2c]
add eax, 0x10
jmp 0x523a4ef5
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 8]
add eax, eax
push eax
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.523959e3
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
test ecx, ecx
je 0x523a4f67
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x38]
sar ecx, 1
mov edx, dword [ebp - 0x24]
mov dword [edx], ecx
add dword [ebp - 0x24], 4
add eax, 0x10
jmp 0x523a4f45
push dword [ebp - 0x34]
push dword [ebp + 8]
push dword [ebp - 0x20]
call fcn.52392b52
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
call fcn.52394384
and dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebp - 0x28], 0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x28], eax
push dword [ebp + 8]
push dword [esi + 0x14c]
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x2c], eax
push dword [ebp + 8]
push dword [esi + 0x150]
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x30], eax
push dword [ebp + 8]
push dword [esi + 0xe6c]
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x38], eax
push dword [ebp + 8]
mov ecx, esi
call fcn.523a1c2d
push eax
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x34], eax
push 0xd08
lea eax, [esi + 0x164]
push eax
mov ecx, ebx
call fcn.52395a41
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 8]
shl eax, 3
push eax
push dword [esi + 0x104]
mov ecx, ebx
call fcn.52395a41
lea eax, [esi + 0x108]
cmp dword [eax], 0
je 0x523a505e
mov ecx, dword [ebx + 0x1c]
mov ecx, dword [ecx + 0x10]
mov dword [edi + 0x44], ecx
push dword [eax]
push dword [esi + 0x10c]
mov ecx, ebx
call fcn.52395ac3
jmp 0x523a5062
and dword [edi + 0x44], 0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x3c]
shl eax, 3
push eax
push dword [esi + 0x114]
mov ecx, ebx
call fcn.52395a41
lea eax, [esi + 0x118]
cmp dword [eax], 0
je 0x523a50a4
mov ecx, dword [ebx + 0x1c]
mov ecx, dword [ecx + 0x10]
mov dword [edi + 0x50], ecx
push dword [eax]
push dword [esi + 0x11c]
mov ecx, ebx
call fcn.52395ac3
jmp 0x523a50a8
and dword [edi + 0x50], 0
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x60], eax
movzx eax, word [esi + 0x3c]
push eax
mov eax, dword [esi + 0xe78]
add eax, 0x32cd0
push eax
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x64], eax
movzx eax, word [esi + 0x3c]
push eax
mov eax, dword [esi + 0xe78]
add eax, 0x36cd4
push eax
mov ecx, ebx
call fcn.52395ac3
mov eax, dword [esi + 0x68]
mov dword [edi + 0x7c], eax
lea eax, [esi + 0xa8]
cmp dword [eax], 0
je 0x523a5105
mov eax, dword [eax]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 4]
test byte [esi + 0x2c], 8
je 0x523a5137
lea edi, [esi + 0xe70]
push ebx
mov ecx, dword [edi]
call fcn.52385e89
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
add esi, 0xe74
push eax
mov ecx, dword [esi]
call fcn.523a6735
push ebx
mov ecx, dword [esi]
call fcn.523a7156
mov dword [ebp - 4], 0xfffffffe
call fcn.523a514b
call fcn.523a84c9
ret 4