Function at 0x52b428
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x3d0
call fcn.006021b0
mov ecx, dword [esp + 0x3d0]
mov ebp, ecx
mov ebx, dword [esp + 0x3e8]
mov edi, dword [0x6610b8]
mov esi, edi
mov eax, dword [0x6610b4]
mov dword [esp + 8], eax
xor eax, eax
mov al, byte [ebp + 9]
and eax, 8
test eax, 0xfffffff8
je 0x52b471
cmp ebx, ebp
je 0x52b8f6
jmp 0x52b479
cmp ebx, ebp
je 0x52ba2b
mov ecx, dword [ebx + 0x46]
mov dword [ebp + 0x46], ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov edi, dword [ebp + 0x36]
mov ecx, dword [edi + 0x40]
test ecx, ecx
jle 0x52b551
mov eax, dword [edi + 0x3c]
cmp eax, 0x1047
je 0x52b994
cmp eax, 0x107c
je 0x52b984
test eax, eax
jle 0x52b974
movzx edx, word [edi + 0x14]
test edx, edx
jne 0x52b4d4
mov ecx, dword [ebp + 0xf]
call fcn.004ed4cc
mov edi, eax
test edi, edi
jne 0x52b4e9
jmp 0x52b551
push 4
push ebx
push 0
push ebp
call fcn.00434650
mov edi, eax
test edi, edi
je 0x52b965
mov edx, dword [edi]
mov eax, dword [ebp + 0x36]
push ebp
push dword [eax + 0x3c]
mov ecx, edi
call dword [edx + 0x64]
mov ecx, eax
test ecx, ecx
je 0x52b551
mov eax, dword [ecx + 0x31]
mov edx, dword [ecx + 0x2d]
mov dword [ebp + 0x31], eax
mov dword [ebp + 0x2d], edx
call fcn.00502334
test eax, eax
je 0x52b551
mov dword [esp + 4], esi
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp eax, 0x17
je 0x52b948
mov eax, dword [esi]
push 0
push ebp
mov ecx, esi
call dword [eax + 0xb0]
push 1
push ebx
push eax
mov ecx, ebp
call fcn.0052ba34
mov ecx, esi
call fcn.004f09f0
mov esi, eax
test esi, esi
jne 0x52b518
mov esi, dword [esp + 4]
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov eax, dword [ebp + 0x36]
movzx ecx, word [eax]
test ecx, ecx
je 0x52b5cc
call fcn.0051c860
mov edi, eax
test edi, edi
je 0x52b5cc
mov dword [esp + 4], esi
mov ecx, 0x74c080
push 1
push 0x58
call fcn.004e2a54
mov esi, eax
test esi, esi
je 0x52b5a8
movzx eax, word [edi]
push eax
mov ecx, esi
call fcn.00501818
mov dword [esi], 0x635200
jmp 0x52b5aa
xor esi, esi
push 0
push ebx
push ebp
mov ecx, esi
call fcn.0052b294
test esi, esi
je 0x52b5c1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edi, dword [edi + 2]
test edi, edi
jne 0x52b581
mov esi, dword [esp + 4]
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov eax, dword [ebp + 0x36]
movzx ecx, word [eax + 2]
test ecx, ecx
je 0x52b69a
call fcn.0051c860
mov edi, eax
test edi, edi
je 0x52b69a
mov dword [esp + 4], esi
movzx eax, word [edi]
lea esi, [eax + eax]
add esi, esi
lea ecx, [esi + eax*8 + 0x690620]
lea eax, [esp + 0x10]
lea esi, [esp + 0xc]
push esi
push eax
push 0x3a
call fcn.0051ab44
movzx eax, word [esp + 0x10]
lea esi, [eax + eax]
add esi, esi
mov ecx, dword [esi + eax*8 + 0x690628]
call fcn.004ee124
mov esi, eax
test esi, esi
je 0x52b65c
movzx edx, word [esp + 0xc]
test edx, edx
je 0x52b9a4
push ebp
push 0
mov ecx, esi
call fcn.00434540
mov esi, eax
jmp 0x52b67c
mov ecx, 0x4a
call fcn.004dbd80
mov esi, eax
test esi, esi
je 0x52b67a
movzx eax, word [edi]
push ebp
push eax
mov ecx, esi
call fcn.005026fc
jmp 0x52b67c
xor esi, esi
test esi, esi
je 0x52b68b
push 1
push ebp
push esi
mov ecx, ebx
call fcn.0052ba34
mov edi, dword [edi + 2]
test edi, edi
jne 0x52b605
mov esi, dword [esp + 4]
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov eax, dword [ebp + 0x36]
movzx edi, word [eax + 6]
test edi, edi
je 0x52b6c4
push ebx
mov ecx, ebp
call fcn.0052dedc
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov eax, dword [ebp + 0x36]
movzx edi, word [eax + 4]
test edi, edi
je 0x52b7b9
call fcn.0051a480
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push 1
call fcn.004ff268
mov eax, dword [ebp + 0x36]
movzx ecx, word [eax + 4]
call fcn.0051c860
mov edi, eax
test edi, edi
je 0x52b7a7
mov dword [esp + 4], esi
mov dword [esp], ebp
lea ecx, [esp + 0x14]
movzx edx, word [edi]
push 0x14
mov ebp, dword [esp + 0x3ec]
push ebp
mov ebx, dword [esp + 8]
push ebx
push edx
call fcn.0051b18c
mov ebp, eax
and ebp, 0xffff
lea ebx, [ebp + ebp]
add ebx, ebx
lea ecx, [esp + 0x18]
push dword [ebx + ebp*8 + 0x690628]
push 1
call fcn.004ffc7c
mov ecx, 0x52
call fcn.004dbd80
mov esi, eax
test esi, esi
je 0x52b77c
lea edx, [esp + 0x18]
push edx
push dword [ebx + ebp*8 + 0x690628]
mov ecx, esi
call fcn.0053201c
jmp 0x52b77e
xor esi, esi
push 1
mov edx, dword [esp + 4]
push edx
push esi
mov ecx, dword [esp + 0x3f4]
call fcn.0052ba34
mov edi, dword [edi + 2]
test edi, edi
jne 0x52b71b
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x3e8]
mov ebp, dword [esp]
lea ecx, [esp + 0x18]
call fcn.005003d8
mov ecx, dword [esp + 0x14]
call fcn.0051a4c0
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov eax, dword [ebp + 0x36]
movzx edi, word [eax + 0x2e]
test edi, edi
je 0x52b7e3
push ebx
mov ecx, ebp
call fcn.0052bc7c
mov edi, dword [0x6610b8]
xor eax, eax
mov ecx, dword [ebp + 0x46]
rep stosd dword es:[edi], eax
mov dword [0x6610b4], 0
mov edi, dword [ebp + 0x36]
movzx eax, word [edi + 0x2a]
test eax, eax
jne 0x52b8d9
movzx eax, word [edi + 0x26]
test eax, eax
jne 0x52b820
mov eax, dword [esp + 0x3ec]
test eax, eax
je 0x52b8e1
lea ecx, [esp + 0x24]
push ebp
call fcn.00580408
mov eax, dword [esp + 0x3ec]
test eax, eax
je 0x52b9ba
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x3ec]
push eax
call fcn.005804bc
lea ecx, [esp + 0x24]
call fcn.00580570
test eax, eax
jne 0x52b868
lea eax, [esp + 0x37a]
push ebp
push ebx
push eax
mov ecx, ebp
call fcn.0052cf04
lea ecx, [esp + 0x3bc]
call fcn.004e7390
lea ecx, [esp + 0x3ac]
call fcn.004e7390
lea ecx, [esp + 0x39e]
call fcn.004e7390
lea ecx, [esp + 0x392]
call fcn.004e7390
lea ecx, [esp + 0x33c]
call fcn.00580b7c
mov eax, 0x40
lea edi, [esp + 0x33c]
mov dword [esp], ebp
mov ebp, eax
add edi, 0xfffffff6
mov ecx, edi
call fcn.005003d8
dec ebp
jne 0x52b8b5
mov ebp, dword [esp]
lea ecx, [esp + 0x32]
call fcn.005003d8
lea ecx, [esp + 0x28]
call fcn.005003d8
jmp 0x52b8e1
push ebx
mov ecx, ebp
call fcn.0052d8ac
cmp ebx, ebp
je 0x52ba04
add esp, 0x3d4
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov dword [ebp + 0x46], 1
mov ecx, dword [ebp + 0x3a]
test ecx, ecx
jne 0x52b92f
test ecx, ecx
je 0x52b90e
movsx ecx, word [ecx + 0x3d]
jmp 0x52b913
mov ecx, 1
mov dword [ebp + 0x46], ecx
add ecx, ecx
add ecx, ecx
call fcn.004dbd80
mov edi, eax
mov dword [0x6610b8], edi
mov ecx, dword [ebp + 0x46]
jmp 0x52b47f
mov eax, dword [ecx + 0xa7]
test eax, eax
jg 0x52b904
mov eax, dword [ecx]
call dword [eax + 0x54]
cmp eax, 0xfffffffc
je 0x52b8e9
mov ecx, dword [ebp + 0x3a]
jmp 0x52b904
mov eax, dword [esi]
push 0
push edi
mov ecx, esi
call dword [eax + 0xb0]
push 1
push ebx
push eax
mov ecx, ebp
call fcn.0052ba34
jmp 0x52b540
mov ecx, dword [ebp + 0xf]
call fcn.004ed4cc
mov edi, eax
jmp 0x52b4ce
push dword [ebp + 0x3a]
push ebx
mov edx, ebp
call fcn.00432f40
jmp 0x52b551
push dword [ebp + 0x3a]
push ebx
mov edx, ebp
call fcn.004325f0
jmp 0x52b551
push dword [ebp + 0x3a]
push ebx
mov edx, ebp
call fcn.00433570
jmp 0x52b551
push 0x74f4e0
mov ecx, ebp
call fcn.004f0a78
movzx edx, word [esp + 0xc]
jmp 0x52b64e
call fcn.0051a480
mov edi, eax
mov eax, dword [ebp + 0x36]
movzx eax, word [eax + 0x26]
push 4
push ebx
push 0
push ebp
push 1
push eax
mov ecx, edi
call fcn.0051be0c
test eax, eax
jne 0x52b9ea
lea ecx, [esp + 0x24]
push dword [edi + 0x38]
call fcn.005804bc
jmp 0x52b9f8
lea ecx, [esp + 0x24]
push 0x74e42c
call fcn.005804bc
mov ecx, edi
call fcn.0051a4c0
jmp 0x52b84a
mov ecx, dword [0x6610b8]
call fcn.004dbc10
mov dword [0x6610b8], esi
mov eax, dword [esp + 8]
mov dword [0x6610b4], eax
add esp, 0x3d4
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov ecx, dword [ebp + 0x3a]
jmp 0x52b904