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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
movzx ecx, ax
shr eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1ab4]
push esi
test eax, eax
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
jne 0x47376c
cmp eax, 5
jne 0x473505
mov edx, dword [ebx + 0x1100]
add edx, 4
test edx, edx
mov dword [esp + 0xc], 0
jle 0x473505
mov dword [esp + 0x1c], 0x30
mov eax, dword [0xec0e0c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x35b60]
mov dword [esp + 0x24], ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x35ba8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
add eax, 0x10
add ecx, 0x158
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47348d
mov byte [esp + 0x48], 0
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x1874]
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4733e6
lea edx, [esp + 0x48]
push 0x4bd7f4
push edx
call fcn.004ab301
mov edi, eax
add esp, 8
test edi, edi
je 0x47348d
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473410
sub eax, edx
cmp eax, 0x11
ja 0x47348d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473427
mov ecx, dword [ebx + 0x1874]
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x473440
sub ecx, esi
cmp eax, ecx
je 0x47348d
mov ecx, dword [0x652e08]
mov esi, edi
call fcn.00401910
add eax, 4
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x473484
test cl, cl
je 0x473480
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x473484
add eax, 2
add esi, 2
test cl, cl
jne 0x473460
xor eax, eax
jmp 0x473489
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4734b4
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1100]
inc eax
sub edi, 0x10
add ecx, 4
cmp eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edi
jl 0x473371
jmp 0x473505
mov ecx, dword [0x652e1c]
call fcn.004033f0
mov edx, dword [0x652e1c]
push edi
add edx, 0x78
push 0x4bd7ec
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x652e1c]
lea eax, [edx + 0x78]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4734e4
sub eax, esi
mov dword [edx + 0x128], eax
mov eax, dword [0x652e1c]
mov ecx, dword [eax + 0x128]
dec ecx
mov dword [eax + 0x12c], ecx
mov edx, dword [ebx + 0x1068]
mov eax, dword [ebx + 0x1074]
mov esi, dword [ebx + 0x106c]
mov ecx, dword [ebx + 0x1078]
mov edi, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x2c]
add ecx, esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], ecx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebx + 0x1104], eax
xor esi, esi
mov edi, edi
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x104c]
push edi
add ecx, esi
call fcn.00405430
add esi, 0x2c
cmp esi, 0x84
jl 0x473550
mov ecx, dword [0x652e04]
call fcn.00453c70
test eax, eax
jne 0x4735ae
mov edx, dword [0x652e04]
mov eax, dword [edx + 0x239c2c]
test eax, eax
jne 0x4735ae
xor esi, esi
nop
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x1084]
push eax
push edi
add ecx, esi
call fcn.00405430
add esi, 0x2c
cmp esi, 0x18c
jl 0x473590
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x10bc]
push edi
call fcn.00405430
test eax, eax
mov ecx, 1
je 0x4735db
mov edx, dword [ebx + 0x10bc]
mov dword [ebx + 0x18d0], ecx
mov dword [edx + 0x20], 0
mov edi, 0x4bb448
lea esi, [ebx + 0x1a6c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x473601
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [ebx + 0x1a40]
call fcn.00405430
mov eax, dword [ebx + 0x17b0]
test eax, eax
je 0x473b28
mov ecx, dword [0x652e00]
call fcn.004a21f0
lea eax, [ebx + 0x17b4]
mov dword [esp + 0xc], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x473627
mov edx, dword [esp + 0xc]
sub eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [0x652e00]
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [0xec0e0c]
mov edx, dword [eax]
mov edi, dword [edx + 0x37508]
mov eax, edx
mov ecx, dword [eax + 0x374c0]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + edx + 0xc]
lea ebx, [edi + 0xc]
push ebx
lea eax, [esi + 0xc]
push eax
push edi
push esi
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4736dc
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x1808]
test al, al
jne 0x4736b5
mov ecx, dword [0x652e0c]
push 1
add ecx, 4
call fcn.00423db0
jmp 0x4736ce
cmp al, 1
jne 0x4736ce
mov ecx, dword [0x652e0c]
push 0x4bb448
push 1
add ecx, 4
call fcn.00423e10
mov eax, dword [esp + 0x18]
mov dword [eax + 0x17b0], 0
push ebx
add esi, 0x18
lea ecx, [esi + 0xc]
push ecx
push edi
push esi
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x473b1d
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [eax + 0x17b0], 0
mov dword [esp + 0x3d], ecx
mov eax, edi
mov byte [esp + 0x34], 0
mov dword [esp + 0x41], ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473740
sub eax, edx
mov edx, dword [0xec0e0c]
mov ecx, eax
mov eax, dword [edx]
add eax, 0x8668
lea esi, [eax + 1]
jmp 0x473760
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x473760
jmp 0x473ae7
cmp eax, 5
jne 0x473921
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0x40
jmp 0x473790
mov eax, dword [0xec0e0c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x35bf0]
mov dword [esp + 0x24], ecx
mov edx, dword [eax]
mov eax, dword [edx + 0x35c38]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
add eax, 0x10
add ecx, 0x158
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4738ad
mov byte [esp + 0x48], 0
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x1874]
mov ecx, dword [ecx + eax]
lea edx, [esp + 0x48]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x473805
lea edx, [esp + 0x48]
push 0x4bd7f4
push edx
call fcn.004ab301
mov edi, eax
add esp, 8
test edi, edi
je 0x4738ad
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473830
sub eax, edx
cmp eax, 0x11
ja 0x4738ad
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473847
mov ecx, dword [ebx + 0x1874]
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x473860
sub ecx, esi
cmp eax, ecx
je 0x4738ad
mov ecx, dword [0x652e08]
mov esi, edi
call fcn.00401910
add eax, 4
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4738a4
test cl, cl
je 0x4738a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4738a4
add eax, 2
add esi, 2
test cl, cl
jne 0x473880
xor eax, eax
jmp 0x4738a9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4738ce
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
sub eax, 0x10
add edx, 4
cmp eax, 0xfffffff0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
jg 0x473790
jmp 0x473921
mov ecx, dword [0x652e1c]
call fcn.004033f0
mov eax, dword [0x652e1c]
push edi
add eax, 0x78
push 0x4bd7ec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x652e1c]
lea eax, [edx + 0x78]
add esp, 0xc
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473900
sub eax, esi
mov dword [edx + 0x128], eax
mov eax, dword [0x652e1c]
mov ecx, dword [eax + 0x128]
dec ecx
mov dword [eax + 0x12c], ecx
mov ecx, dword [0x652e04]
call fcn.00453c70
test eax, eax
jne 0x47395e
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x473940
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x1084]
push edx
push edi
add ecx, esi
call fcn.00405430
add esi, 0x2c
cmp esi, 0x18c
jl 0x473940
mov edi, 0x4bb448
lea esi, [ebx + 0x1a6c]
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x473989
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [ebx + 0x1a40]
call fcn.00405430
mov eax, dword [ebx + 0x17b0]
test eax, eax
je 0x473b28
mov ecx, dword [0x652e00]
call fcn.004a21f0
lea eax, [ebx + 0x17b4]
mov dword [esp + 0xc], eax
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4739b0
mov edx, dword [esp + 0xc]
sub eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov eax, dword [0x652e00]
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [0xec0e0c]
mov edx, dword [eax]
mov edi, dword [edx + 0x37598]
mov eax, edx
mov ecx, dword [eax + 0x37550]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + edx + 0xc]
lea ebx, [edi + 0xc]
push ebx
lea eax, [esi + 0xc]
push eax
push edi
push esi
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x473a65
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x1808]
test al, al
jne 0x473a3e
mov ecx, dword [0x652e0c]
push 1
add ecx, 4
call fcn.00423db0
jmp 0x473a57
cmp al, 1
jne 0x473a57
mov ecx, dword [0x652e0c]
push 0x4bb448
push 1
add ecx, 4
call fcn.00423e10
mov eax, dword [esp + 0x18]
mov dword [eax + 0x17b0], 0
push ebx
add esi, 0x18
lea ecx, [esi + 0xc]
push ecx
push edi
push esi
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x473b1d
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [eax + 0x17b0], 0
mov dword [esp + 0x3d], ecx
mov eax, edi
mov byte [esp + 0x34], 0
mov dword [esp + 0x41], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x473ac5
sub eax, edx
mov edx, dword [0xec0e0c]
mov ecx, eax
mov eax, dword [edx]
add eax, 0x8668
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x473ae0
sub eax, esi
sub ecx, eax
push ecx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004aa2b0
mov edx, dword [0xec0e0c]
mov eax, dword [edx]
add esp, 0xc
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x652e0c]
add eax, 0x8740
add ecx, 4
push eax
call fcn.0043a970
mov ecx, dword [0x652e00]
call fcn.004a2250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8