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

Disassembly:
sub esp, 0x57c
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
mov ebp, dword [0x43b568]
push esi
push edi
push 0
push 0
push 0x1004
mov esi, edx
mov dword [esp + 0x38], ebp
push ebp
mov dword [esp + 0x40], esi
call ebx
xor edi, edi
mov dword [esp + 0x24], eax
test esi, esi
je 0x402fa7
xor esi, esi
test eax, eax
jle 0x402fad
push 2
push esi
push 0x102c
push ebp
call ebx
test al, 2
je 0x402f9e
inc edi
inc esi
cmp esi, dword [esp + 0x24]
jl 0x402f8e
jmp 0x402fa9
mov edi, eax
test edi, edi
jne 0x402fb4
xor eax, eax
jmp 0x40335f
mov esi, 0x80000
push esi
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x598]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [eax], 0
pop ecx
cmp esi, 2
jne 0x402ff1
push 0xffffffffffffffff
mov edx, str.__DOCTYPE_html__html__head__style_body_font:17px_Consolastableborder_collapse:collapsetd_thborder:1px_solid_e0e0e0_padding:7pxtr:nth_child_odd__background_color:_eee___style___head__body__table__r_n
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
xor eax, eax
push eax
push eax
push 0x1200
push eax
push eax
push 0x101f
push ebp
call ebx
push eax
call ebx
and dword [esp + 0xd0], 0
mov edi, eax
push 0xa0
lea eax, [esp + 0xd8]
mov dword [esp + 0x14], edi
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0xd0]
push eax
push edi
push 0x103b
push ebp
call ebx
push 0xa
xor eax, eax
lea edi, [esp + 0x3c]
pop ecx
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], 4
lea eax, [esp + 0x178]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x208
cmp esi, 2
jne 0x403079
push 0xffffffffffffffff
mov edx, str._tr_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x4030f7
lea eax, [esp + 0x34]
push eax
push dword [esp + edi*4 + 0xd4]
push 0x1019
push ebp
call ebx
cmp esi, 2
jne 0x4030ab
push 0xffffffffffffffff
mov edx, str._th_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
push 0xffffffffffffffff
lea edx, [esp + 0x17c]
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
cmp esi, 2
jne 0x4030cc
push 0xffffffffffffffff
mov edx, str.__th_
jmp 0x4030e6
mov eax, dword [esp + 0x10]
dec eax
cmp edi, eax
je 0x4030f0
test esi, esi
mov edx, 0x42b4d0
mov eax, 0x42b4d4
push 1
cmovne edx, eax
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
inc edi
cmp edi, dword [esp + 0x10]
jl 0x403081
lea ecx, [esp + 0x14]
cmp esi, 2
jne 0x403109
push 0xffffffffffffffff
mov edx, str.__tr__r_n
jmp 0x403110
push 2
mov edx, 0x42b4e0
call fcn.00401bf0
or eax, 0xffffffff
xor ebp, ebp
pop ecx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], ebp
jle 0x403321
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x2c]
je 0x403147
push 2
push ebp
push 0x102c
push edi
call ebx
test al, 2
je 0x403316
and dword [esp + 0x34], 0
lea eax, [esp + 0x38]
push 0x38
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x38], ebp
test byte [0x43b4e0], 1
jne 0x403230
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x100
push eax
push ebp
push 0x1005
push edi
call ebx
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x5c]
je 0x403230
lea eax, [esp + 0x380]
mov dword [esp + 0x70], 0x60
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x60]
mov dword [esp + 0x7c], 1
push 0x1095
push edi
mov dword [esp + 0x8c], 0x104
call ebx
xor ecx, ecx
lea eax, [esp + 0x178]
push ecx
push ecx
push 0x208
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x394]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esp + 0x28], 0xffffffff
je 0x403204
push 0xffffffffffffffff
mov edx, 0x42b4e0
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
push 0xffffffffffffffff
lea edx, [esp + 0x17c]
lea ecx, [esp + 0x18]
call fcn.00401bf0
push 2
mov edx, 0x42b4e0
lea ecx, [esp + 0x1c]
call fcn.00401bf0
mov eax, dword [esp + 0x64]
pop ecx
pop ecx
mov dword [esp + 0x28], eax
cmp esi, 2
jne 0x403246
push 0xffffffffffffffff
mov edx, str._tr_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x4032ef
mov eax, dword [esp + edi*4 + 0xd0]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push ebp
push 0x102d
push dword [esp + 0x38]
mov dword [esp + 0x44], 1
mov dword [esp + 0x5c], 0x208
call ebx
cmp esi, 2
jne 0x40329f
push 0xffffffffffffffff
mov edx, str._td_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
push 0xffffffffffffffff
lea edx, [esp + 0x17c]
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
cmp esi, 2
jne 0x4032c0
push 0xffffffffffffffff
mov edx, str.__td_
jmp 0x4032da
mov eax, dword [esp + 0x10]
dec eax
cmp edi, eax
je 0x4032e4
test esi, esi
mov edx, 0x42b4d0
mov eax, 0x42b4d4
push 1
cmovne edx, eax
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
inc edi
cmp edi, dword [esp + 0x10]
jl 0x403252
cmp esi, 2
jne 0x403305
push 0xffffffffffffffff
mov edx, str.__tr_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
push 2
mov edx, 0x42b4e0
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x403129
cmp esi, 2
jne 0x403337
push 0xffffffffffffffff
mov edx, str.__table___body___html_
lea ecx, [esp + 0x18]
call fcn.00401bf0
pop ecx
push 1
mov edx, 0x42b370
lea ecx, [esp + 0x18]
call fcn.00401bf0
mov edx, dword [esp + 0x594]
mov eax, dword [esp + 0x18]
pop ecx
test edx, edx
je 0x40335f
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov dword [edx], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret