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

Disassembly:
push 0xffffffffffffffff
push 0x48936b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea esi, [ecx + 0x1fc]
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4581a2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x458236
mov eax, dword [esi + 4]
test eax, eax
je 0x4581cb
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4581d0
call fcn.0047770d
mov eax, dword [esi + 4]
test byte [eax + ebp + 0xb4], 1
je 0x458228
test eax, eax
je 0x4581fb
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x458200
call fcn.0047770d
mov ecx, dword [esi + 4]
test byte [ecx + ebp + 0x1c], 0x10
je 0x458221
add dword [esp + 0x18], 1
mov dword [esp + 0x20], edi
add edi, 1
add ebp, 0xc0
jmp 0x458185
add dword [esp + 0x14], 1
mov ebx, edi
add edi, 1
add ebp, 0xc0
jmp 0x458185
cmp dword [0x4a063c], 0
je 0x458622
xor eax, eax
mov ecx, 7
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0xa8], 2
jne 0x45838a
cmp dword [esp + 0x14], 1
jne 0x4584a2
lea edx, [esp + 0x60]
push edx
push 0x1ce
call fcn.00442450
lea eax, [esp + 0x4c]
push eax
push 0x1cf
call fcn.00442450
add esp, 0x10
push 1
push 0x48b6f4
lea ecx, [esp + 0x30]
call fcn.004020e0
mov eax, dword [esi + 4]
test eax, eax
je 0x4582e9
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4582ee
call fcn.0047770d
mov eax, dword [esi + 4]
lea edi, [ebx + ebx*2]
shl edi, 6
add eax, edi
cmp dword [eax + 0x18], 8
jb 0x458304
mov ebp, dword [eax + 4]
jmp 0x458307
lea ebp, [eax + 4]
mov eax, dword [esi + 4]
test eax, eax
je 0x458328
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45832d
call fcn.0047770d
mov eax, dword [esi + 4]
add eax, edi
cmp dword [eax + 0x18], 8
jb 0x45833d
mov eax, dword [eax + 4]
jmp 0x458340
add eax, 4
push eax
call fcn.00442030
lea edx, [ebp + eax*2]
mov eax, edx
add esp, 4
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x458352
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.004020e0
push 3
push 0x48b6ec
lea ecx, [esp + 0x30]
call fcn.004020e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
push ecx
jmp 0x45851a
cmp ecx, 1
jne 0x4584a2
cmp dword [esp + 0x14], eax
jne 0x4584a2
lea edx, [esp + 0x60]
push edx
push 0x1a8
call fcn.00442450
lea eax, [esp + 0x4c]
push eax
push 0x1a9
call fcn.00442450
add esp, 0x10
push 1
push 0x48b6f4
lea ecx, [esp + 0x30]
call fcn.004020e0
mov eax, dword [esi + 4]
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x4583f3
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4583f8
call fcn.0047770d
mov eax, dword [esi + 4]
lea edi, [ebx + ebx*2]
shl edi, 6
add eax, edi
cmp dword [eax + 0x18], 8
jb 0x45840e
mov ebp, dword [eax + 4]
jmp 0x458411
lea ebp, [eax + 4]
mov eax, dword [esi + 4]
test eax, eax
je 0x458432
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x458437
call fcn.0047770d
mov eax, dword [esi + 4]
add eax, edi
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x45844b
mov eax, dword [eax + 4]
jmp 0x45844e
add eax, 4
push eax
call fcn.00442030
lea edx, [ebp + eax*2]
mov eax, edx
add esp, 4
lea edi, [eax + 2]
xor ebp, ebp
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x458462
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.004020e0
push 3
push 0x48b6ec
lea ecx, [esp + 0x30]
call fcn.004020e0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00401fd0
jmp 0x45852a
lea edx, [esp + 0x60]
push edx
push 0x1a6
call fcn.00442450
lea eax, [esp + 0x4c]
push eax
push 0x1a7
call fcn.00442450
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add ecx, edx
push ecx
lea eax, [esp + 0x90]
push 0x48b9e8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x98]
add esp, 0x1c
lea edx, [eax + 2]
jmp 0x4584f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4584f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x30]
call fcn.00402680
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.00401fd0
xor ebp, ebp
mov ebx, 8
cmp dword [esp + 0x78], ebx
mov edx, dword [esp + 0x64]
jae 0x458538
lea edx, [esp + 0x64]
cmp dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x2c]
jae 0x458546
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
push 0x24
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4585bf
cmp dword [esp + 0x5c], ebx
jb 0x458570
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x40], ebx
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
jb 0x458595
mov edx, dword [esp + 0x2c]
push edx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
jb 0x4585b5
mov eax, dword [esp + 0x64]
push eax
call fcn.004775de
add esp, 4
mov eax, 1
jmp 0x45898a
cmp dword [esp + 0x5c], ebx
jb 0x4585d2
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x40], ebx
mov edi, 7
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
jb 0x4585f7
mov edx, dword [esp + 0x2c]
push edx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
mov dword [esp + 0xa8], 0xffffffff
jb 0x458622
mov eax, dword [esp + 0x64]
push eax
call fcn.004775de
add esp, 4
mov ebx, dword [esp + 0x24]
xor edi, edi
xor ebp, ebp
lea ebx, [ebx]
mov eax, dword [esi + 4]
test eax, eax
je 0x45864d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x458745
mov eax, dword [esi + 4]
test eax, eax
je 0x458676
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45867b
call fcn.0047770d
mov ecx, dword [esi + 4]
test byte [ecx + ebp + 0xb4], 1
je 0x458737
mov eax, ecx
test eax, eax
je 0x4586ac
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4586b1
call fcn.0047770d
mov edx, dword [esi + 4]
cmp dword [edx + ebp + 0x40], 0
jne 0x458737
mov eax, edx
test eax, eax
je 0x4586db
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4586e0
call fcn.0047770d
mov eax, dword [esi + 4]
sub esp, 0x58
add eax, ebp
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.00402790
mov ecx, ebx
call fcn.004528a0
test eax, eax
je 0x458737
mov eax, dword [esi + 4]
test eax, eax
je 0x458720
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x458725
call fcn.0047770d
mov eax, dword [esi + 4]
and dword [eax + ebp + 0xb4], 0xfffffffe
lea eax, [eax + ebp + 0xb4]
add edi, 1
add ebp, 0xc0
jmp 0x458630
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov ebp, 0xc0
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x1c], edi
je 0x45877b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x45889b
mov eax, dword [esi + 4]
test eax, eax
je 0x4587a4
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4587a9
call fcn.0047770d
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
test byte [edx + ecx + 0xb4], 1
jne 0x45888f
cmp ebx, edi
je 0x458884
mov eax, ecx
test eax, eax
je 0x4587e6
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4587eb
call fcn.0047770d
mov ebp, dword [esi + 4]
mov eax, dword [esi + 4]
add ebp, dword [esp + 0x18]
test eax, eax
je 0x458813
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x458818
call fcn.0047770d
mov edi, dword [esi + 4]
add edi, dword [esp + 0x14]
push ebp
mov ecx, edi
call fcn.00402ad0
lea eax, [ebp + 0x58]
push eax
lea ecx, [edi + 0x58]
call fcn.00402ad0
mov ebx, dword [ebp + 0xb0]
test ebx, ebx
je 0x458841
add dword [ebx + 4], 1
mov ecx, dword [edi + 0xb0]
test ecx, ecx
je 0x458859
add dword [ecx + 4], 0xffffffff
jne 0x458859
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0xb0], ebx
mov ecx, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x20]
mov dword [edi + 0xb4], ecx
mov edx, dword [ebp + 0xb8]
mov dword [edi + 0xb8], edx
mov edi, dword [esp + 0x1c]
mov ebp, 0xc0
add ebx, 1
add dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebx
add edi, 1
add dword [esp + 0x18], ebp
jmp 0x45875a
sub esp, 0xc0
mov eax, esp
xor edi, edi
mov dword [eax + 0x14], edi
mov ecx, 7
mov dword [eax + 0x18], ecx
mov word [eax + 4], di
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], edi
mov dword [esp + 0xdc], esp
mov word [eax + 0x5c], di
push ebx
mov ecx, esi
mov dword [eax + 0xb0], edi
call fcn.0043b8c0
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4588f2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x458961
mov eax, dword [esi + 4]
test eax, eax
je 0x458917
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45891c
call fcn.0047770d
mov eax, dword [esi + 4]
mov dword [eax + ebp + 0x38], edi
mov eax, dword [esi + 4]
test eax, eax
je 0x458944
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x458949
call fcn.0047770d
mov ecx, dword [esi + 4]
mov dword [ecx + ebp + 0x90], edi
add edi, 1
add ebp, 0xc0
jmp 0x4588d5
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 8]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x168]
push eax
push ecx
mov ecx, esi
call fcn.00449370
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004777ea
add esp, 0x98
ret