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

Disassembly:
mov eax, 0x2738
call fcn.004d3780
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
je 0x4811f8
push ebp
push edi
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [0x6d9208]
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
xor eax, eax
cmp edi, ebx
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
sete al
push ecx
push edx
mov dword [esi + 0x50], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call edi
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esi + 0x64]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jne 0x480cd7
push 1
push ebx
push 0x20
push 0x10
push 0x10
call edi
mov edx, dword [esi + 0x48]
push eax
push 1
push 0x1003
push edx
mov dword [esi + 0x64], eax
call ebp
cmp dword [esi + 0x68], ebx
je 0x480cf6
mov eax, dword [esi + 0x48]
push ebx
push ebx
push 0x1003
push eax
call ebp
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x50]
cmp eax, ebx
mov eax, dword [esp + 0x10]
je 0x480d15
mov edx, dword [esi + 0x48]
or al, 1
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x480e24
test al, 1
je 0x480d1c
xor eax, 1
push eax
mov eax, dword [esi + 0x48]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x6d9208]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x40]
fild qword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
sub edx, eax
sub ecx, 0x14
fmul qword [0x4dbda0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
fsubr qword [0x4dcc80]
fmul qword [0x4dcc78]
fadd qword [0x4dcc70]
fmul qword [0x4dcc68]
fst qword [esi + 0x40]
fild dword [esp + 0x10]
fdiv st(1)
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
fstp st(0)
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdiv qword [esi + 0x40]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
push 1
add ecx, 0x22
push ebx
add eax, 0x14
push 0x20
push ecx
push eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call edi
mov ecx, dword [esi + 0x48]
push eax
push ebx
push 0x1003
push ecx
mov dword [esi + 0x68], eax
call ebp
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0xb0]
sub eax, edi
cdq
idiv ecx
mov edx, ecx
mov edi, eax
mov eax, dword [esp + 0x28]
imul edx, edi
sub eax, edx
mov edx, dword [esp + 0x20]
sub eax, edx
cdq
idiv edi
add eax, ecx
mov ecx, dword [esi + 0xb4]
add ecx, 0x14
and eax, 0xffff
and ecx, 0xffff
shl ecx, 0x10
or eax, ecx
push eax
push ebx
push 0x1035
mov edx, dword [esi + 0x48]
push edx
call ebp
mov eax, dword [esp + 0x274c]
mov dword [esp + 0x18], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x48118a
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x90], ax
xor eax, eax
lea edi, [esp + 0x92]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x48]
push 0x104
rep stosd dword es:[edi], eax
mov eax, dword [0x6dcf80]
push edx
lea ecx, [esp + 0x98]
push 0x169
push eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x4dcc60]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x90]
mov dword [esp + 0x50], eax
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esi + 0x48]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push ebx
push 0x1061
push ecx
call ebp
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x90]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [0x6dcf80]
push 0x104
push edx
push 0x16a
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [str.333333]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x90]
mov dword [esp + 0x50], eax
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esi + 0x48]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push eax
push 1
push 0x1061
push ecx
call ebp
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x29a]
mov word [esp + 0x298], dx
mov word [esp + 0x4a0], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x4a2]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x84]
add ecx, 0x54
stosw word es:[edi], ax
call fcn.004cb650
mov ecx, dword [esi + 0x84]
mov edi, eax
add ecx, 0x54
mov dword [esp + 0x30], edi
call fcn.004cc790
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 0x101f
push edx
mov dword [esi + 0xc4], eax
call ebp
mov dword [esi + 0x4c], eax
xor eax, eax
cmp edi, eax
jle 0x4811f1
mov dword [esp + 0x10], eax
jmp 0x480fdf
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0x4a0]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x298]
rep stosd dword es:[edi], eax
mov ecx, 0x498
lea edi, [esp + 0x14e8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x84]
push ebx
add ecx, 0x54
call fcn.004cb6d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x48115d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48115d
lea ecx, [esi + 0xc8]
lea edx, [esp + 0x14e8]
mov dword [esp + 0x88], eax
push edx
mov eax, dword [ecx + 8]
push 1
push eax
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], ebx
mov dword [esp + 0x90], ebx
call fcn.00481ba0
mov edx, dword [esi + 0x48]
lea ecx, [esp + 0x68]
push ecx
push 0
push 0x104d
push edx
call ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4a0]
push 0
push eax
call fcn.0049f9d0
lea ecx, [esp + 0x298]
push 0x104
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049fcf0
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xcc]
push ebx
add ecx, 0x54
mov dword [esp + 0x20], edx
call fcn.004cb060
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0xcc]
add ecx, 0x54
mov dword [esp + 0x20], edx
call fcn.004ca8f0
mov ecx, dword [esp + 0x1c]
mov dword [edi + ecx + 8], eax
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0x84]
mov edx, dword [edi + eax]
push edx
call fcn.00464230
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x4a4]
lea ecx, [esp + 0x29c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push 0
push edx
push eax
mov ecx, esi
call fcn.00481760
push 0
push ebx
mov ecx, esi
call fcn.00481910
mov ecx, dword [esp + 0x14]
push 0
push ebx
push 0x9421
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x481161
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
inc ebx
add edi, 0x1260
cmp ebx, eax
mov dword [esp + 0x10], edi
jl 0x480fdd
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x2738
ret 4
mov eax, dword [esi + 0x48]
push ebx
push ebx
push 0x1004
push eax
call ebp
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x30], eax
jle 0x4811f1
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x50], ebx
jne 0x4811e8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x84]
push edx
push edi
add ecx, 0x54
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.004cb6d0
cmp dword [esp + 0x18], ebx
jne 0x4811e8
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4811e8
mov eax, dword [eax + 4]
push ebx
push edi
push 0x9421
push eax
call ebp
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x4811a7
pop edi
mov eax, 1
pop ebp
pop esi
pop ebx
add esp, 0x2738
ret 4