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

Disassembly:
sub esp, 0x198
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x194], eax
mov ecx, dword [esp + 0x1a8]
mov eax, dword [esp + 0x19c]
push ebx
push esi
mov esi, dword [esp + 0x1a8]
push edi
mov edi, dword [esp + 0x1c4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1b8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1bc]
push 0
push eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1d0]
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], 0
call fcn.0052c220
mov bl, byte [esp + 0xa8]
add esp, 0x10
mov al, bl
not al
test al, 1
jne 0x52b966
mov edi, dword [esp + 0xc]
test bl, 1
je 0x52b925
mov eax, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [edi], eax
jmp 0x52b92f
mov edx, dword [esp + 0x6c]
mov dword [edi], 0
xor ecx, ecx
test bl, 1
jne 0x52b951
lea eax, [esp + 0x78]
cmp edx, eax
je 0x52bffd
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x52bffd
test edx, edx
je 0x52bffd
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
jmp 0x52bffd
push 0
push dword [esp + 0x14]
mov ecx, esi
call fcn.0040b087
mov ecx, eax
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
mov eax, edx
mov dword [esp + 0x24], eax
movlpd qword [esp + 0x1c], xmm0
test ecx, ecx
jne 0x52b994
test eax, eax
je 0x52bb07
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
lea ebx, [esi + eax*8]
cmp esi, ebx
je 0x52bae1
mov eax, dword [esi]
xorps xmm0, xmm0
mov edx, dword [esi + 4]
sub eax, 1
mov eax, dword [esp + 0x28]
mov word [esp + 0x44], dx
mov byte [esp + 0x46], 0
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
je 0x52ba74
push dword [eax]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
sub esp, 0xc
movq xmm0, qword [eax]
mov ecx, esp
mov eax, dword [eax + 8]
push edx
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.0040204f
add esp, 0x18
test al, al
jne 0x52bace
push str.failed_to_parse_directory_entry_because_skipping_the_form_value_failed
sub esp, 8
mov esi, esp
call fcn.00415dfc
mov edi, dword [esp + 0x18]
mov dword [esi], 0x16
push edi
mov dword [esi + 4], eax
call fcn.004093e0
add esp, 0x10
test byte [esp + 0x98], 1
jne 0x52bf39
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x52bffd
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x52bffd
push dword [esp + 0x34]
lea ecx, [esp + 0x48]
push dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.00404a5c
test al, al
je 0x52bb4d
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x52bac1
movups xmm0, xmmword [esp + 0x44]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [eax + 0x20], xmm0
add dword [edi + 4], 0x28
jmp 0x52bace
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, edi
call fcn.00401136
add esi, 8
cmp esi, ebx
jne 0x52b9b7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add edx, 1
mov dword [esp + 0x1c], edx
adc ecx, 0
mov dword [esp + 0x14], ecx
cmp edx, dword [esp + 0x3c]
jne 0x52b9a4
cmp ecx, dword [esp + 0x24]
jne 0x52b9a4
mov esi, dword [esp + 0x18]
push dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xa0]
push edi
push esi
push eax
call fcn.0052c220
mov bl, byte [esp + 0xd8]
add esp, 0x10
mov al, bl
not al
test al, 1
jne 0x52bba3
mov edi, dword [esp + 0xc]
test bl, 1
je 0x52bb57
mov eax, dword [esp + 0x9c]
xor edx, edx
mov dword [esp + 0x9c], edx
mov dword [edi], eax
jmp 0x52bb64
push str.failed_to_parse_directory_entry_because_extracting_the_form_value_failed
jmp 0x52ba27
mov edx, dword [esp + 0x9c]
mov dword [edi], 0
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
test bl, 1
jne 0x52bb84
lea eax, [esp + 0xa8]
cmp edx, eax
je 0x52bb90
push edx
call esi
add esp, 4
jmp 0x52bb90
test edx, edx
je 0x52bb90
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
test byte [esp + 0x98], 1
jne 0x52bf39
jmp 0x52bfdb
push 0
push edi
mov ecx, esi
call fcn.0040b087
mov ecx, eax
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
mov eax, edx
mov dword [esp + 0x24], eax
movlpd qword [esp + 0x3c], xmm0
test ecx, ecx
jne 0x52bbce
test eax, eax
je 0x52be8c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
nop
mov edi, dword [esp + 0x9c]
xor eax, eax
mov word [esp + 0x128], ax
xorps xmm0, xmm0
mov byte [esp + 0x12a], al
mov dword [esp + 0x138], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov word [esp + 0x178], ax
mov byte [esp + 0x17a], al
mov dword [esp + 0x188], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0xa0]
movlpd qword [esp + 0x130], xmm0
movlpd qword [esp + 0x150], xmm0
movlpd qword [esp + 0x158], xmm0
lea ebx, [edi + eax*8]
movlpd qword [esp + 0x160], xmm0
movlpd qword [esp + 0x180], xmm0
cmp edi, ebx
je 0x52be30
push dword [esp + 0x34]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x48]
push dword [esp + 0x3c]
mov esi, dword [edi]
xorps xmm0, xmm0
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4e], 0
mov dword [esp + 0x5c], 0
movlpd qword [esp + 0x54], xmm0
push dword [eax]
mov dword [esp + 0x70], 0
push dword [esp + 0x1c]
mov dword [esp + 0x78], 0
push dword [esp + 0x28]
call fcn.00404a5c
test al, al
je 0x52bf50
cmp esi, 0x2001
jg case.default.0x52bce6
je 0x52bdf8
dec esi
cmp esi, 4
ja case.default.0x52bce6
jmp dword [esi*4 + 0x52c018]
movups xmm0, xmmword [esp + 0x44]
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [esp + 0x138], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [esp + 0x148], xmm0
jmp case.default.0x52bce6
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x48]
call fcn.0040d17f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x154], eax
jmp case.default.0x52bce6
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x48]
call fcn.0040d17f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], eax
jmp case.default.0x52bce6
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x48]
call fcn.0040d17f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
jmp case.default.0x52bce6
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x48]
call fcn.00412e18
cmp byte [eax + 8], 0
je 0x52becb
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x48]
call fcn.00412e18
cmp dword [eax + 4], 0x10
jne 0x52becb
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x48]
call fcn.00412e18
lea ecx, [esp + 0x168]
push ecx
push 0x10
push dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.004099df
add esp, 0x10
jmp case.default.0x52bce6
movups xmm0, xmmword [esp + 0x44]
movups xmmword [esp + 0x178], xmm0
movups xmm0, xmmword [esp + 0x54]
movups xmmword [esp + 0x188], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [esp + 0x198], xmm0
add edi, 8
cmp edi, ebx
jne 0x52bc73
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x52be52
mov ecx, 0x1e
lea esi, [esp + 0x128]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x78
jmp 0x52be66
lea ecx, [esp + 0x128]
push ecx
push eax
mov ecx, ebx
call fcn.00408de6
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x1c], edx
adc ecx, 0
mov dword [esp + 0x14], ecx
cmp edx, dword [esp + 0x2c]
jne 0x52bbe0
cmp ecx, dword [esp + 0x24]
jne 0x52bbe0
test byte [esp + 0xc8], 1
mov edi, dword [esp + 0xc]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi], 0
jne 0x52bfc0
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x52bfd1
push eax
call esi
add esp, 4
jmp 0x52bfd1
push str.failed_to_parse_file_entry_because_the_MD5_hash_is_invalid
sub esp, 8
mov esi, esp
call fcn.00415dfc
mov edi, dword [esp + 0x18]
push edi
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004093e0
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
test byte [esp + 0xc8], 1
jne 0x52bf1a
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x52bf2b
push eax
call esi
add esp, 4
jmp 0x52bf2b
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x52bf2b
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x98], 1
je 0x52bfdb
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x52bffd
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x52bffd
push str.failed_to_parse_file_entry_because_extracting_the_form_value_failed
sub esp, 8
mov esi, esp
call fcn.00415dfc
mov edi, dword [esp + 0x18]
push edi
mov dword [esi], 0x16
mov dword [esi + 4], eax
call fcn.004093e0
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
test byte [esp + 0xc8], 1
jne 0x52bf9f
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x52bfb0
push eax
call esi
add esp, 4
jmp 0x52bfb0
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x52bfb0
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x98], 1
jne 0x52bf39
jmp 0x52bfdb
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x52bfd1
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x98], 1
jne 0x52bfef
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x52bffd
push eax
call esi
add esp, 4
jmp 0x52bffd
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x52bffd
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x1a0]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x198
ret