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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0x42c]
mov edx, dword [ebp + 4]
push esi
push edi
lea eax, [ebp + 4]
push ecx
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea esi, [ebp + 0x1f0]
xor ebx, ebx
lea edi, [ebp + 0x30]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
push ebx
mov ecx, esi
call edx
lea esi, [ebp + 0x228]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp + 0x428]
lea ecx, [ebp + 0x428]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x45ba51
mov eax, dword [eax + 4]
push eax
push ecx
call fcn.00407090
mov ecx, dword [ebp + 0x428]
push ecx
push esi
call fcn.00458d30
mov eax, 0xffffff
cmp dword [esi + 0x3c], eax
je 0x45ba7d
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x3c], eax
cmp ecx, ebx
je 0x45ba7d
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push ebx
push ebx
push ebx
push esi
call eax
mov eax, dword [ebp + 0x2a4]
mov dword [esp + 0x38], eax
cmp eax, dword [ebp + 0x2a8]
jbe 0x45ba94
call fcn.004f825e
mov esi, dword [ebp + 0x298]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
jmp 0x45bab0
mov eax, dword [ebp + 0x2a8]
mov dword [esp + 0x38], eax
cmp dword [ebp + 0x2a4], eax
jbe 0x45bac7
call fcn.004f825e
mov eax, dword [ebp + 0x298]
cmp esi, ebx
je 0x45bad5
cmp esi, eax
je 0x45bada
call fcn.004f825e
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x18], edx
je 0x45bb88
cmp esi, ebx
jne 0x45bb7d
call fcn.004f825e
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x10]
jb 0x45bb05
call fcn.004f825e
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push ebx
push ebx
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x45bb84
call fcn.004f825e
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x45bb6f
call fcn.004f825e
add dword [esp + 0x18], 4
mov esi, dword [esp + 0x14]
jmp 0x45bab0
mov esi, dword [esi]
jmp 0x45baf7
mov eax, dword [eax]
jmp 0x45bb61
mov eax, dword [ebp + 0x41c]
and eax, 0xf
dec eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
cmp eax, 0xe
ja case.default.0x45bba3
jmp dword [eax*4 + 0x45c454]
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5dee94
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5de640
mov eax, esi
call fcn.0045a1a0
jmp 0x45c275
mov eax, 3
lea ebx, [ebp + 0x2b0]
mov edx, eax
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x328]
lea edx, [eax + 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax + 2]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e089c
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5dee9c
lea eax, [ebp + 0x328]
call fcn.0045a1a0
mov edi, 0x5e08a4
mov eax, esi
call fcn.0045a1a0
lea edx, [ebp + 0xe0]
call fcn.00457180
jmp 0x45c275
mov eax, 3
lea ebx, [ebp + 0x2b0]
lea edx, [eax + 3]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x328]
lea edx, [eax + 4]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08ac
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5e08b0
lea eax, [ebp + 0x328]
jmp 0x45bbf2
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax + 3]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax + 4]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08ac
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5e08b0
jmp 0x45bc69
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax + 1]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5dee9c
jmp 0x45bbf0
mov eax, 3
lea ebx, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x328]
lea edx, [eax + 7]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax + 8]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5de640
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5dee9c
lea eax, [ebp + 0x328]
call fcn.0045a1a0
mov edi, 0x5e08b4
mov eax, esi
call fcn.0045a1a0
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08bc
jmp 0x45bbf0
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08d0
jmp 0x45bbf0
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08e0
jmp 0x45bbf0
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e08ec
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5e08f8
mov eax, esi
call fcn.0045a1a0
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e090c
mov eax, ebx
call fcn.0045a1a0
mov edi, 0x5e0918
mov eax, esi
call fcn.0045a1a0
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e092c
mov eax, ebx
call fcn.0045a1a0
mov edx, dword [ebp + 0x424]
neg edx
sbb edx, edx
and edx, 0xfafafa
mov edi, 0x5e0938
mov eax, esi
mov dword [ebp + 0x37c], edx
call fcn.0045a1a0
mov dword [esp + 0x38], 1
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e0948
mov eax, ebx
call fcn.0045a1a0
mov eax, dword [ebp + 0x424]
neg eax
sbb eax, eax
and eax, 0xfafafa
mov dword [ebp + 0x37c], eax
mov edi, 0x5e0954
mov eax, esi
call fcn.0045a1a0
mov dword [esp + 0x38], 1
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea ebx, [ebp + 0x328]
lea edx, [eax - 2]
mov ecx, edi
mov esi, ebx
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5e0960
mov eax, ebx
call fcn.0045a1a0
mov ecx, dword [ebp + 0x424]
neg ecx
sbb ecx, ecx
and ecx, 0xfafafa
mov edi, 0x5de640
mov eax, esi
mov dword [ebp + 0x37c], ecx
call fcn.0045a1a0
mov dword [esp + 0x38], 1
jmp 0x45c275
mov eax, 2
lea esi, [ebp + 0x2b0]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 2
lea esi, [ebp + 0x328]
lea edx, [eax - 1]
mov ecx, edi
call fcn.00456ff0
mov eax, 3
lea esi, [ebp + 0x3a0]
lea edx, [eax - 2]
mov ecx, edi
call fcn.00456ff0
mov edi, 0x5deea4
mov eax, esi
call fcn.0045a1a0
mov edx, dword [ebp + 0x424]
neg edx
sbb edx, edx
and edx, 0xfafafa
mov dword [ebp + 0x3f4], edx
mov dword [esp + 0x14], 1
jmp 0x45c275
lea esi, [ebp + 0x2b0]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
push ebx
mov ecx, esi
call edx
lea esi, [ebp + 0x328]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 2
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
push ebx
mov ecx, esi
call edx
lea esi, [ebp + 0x3a0]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
push ebx
mov ecx, esi
call edx
push 0x5dee94
lea eax, [esi + 0x2c]
mov ebx, 2
call fcn.004072f0
call fcn.0045a1f0
mov eax, dword [ebp + 0x420]
lea esi, [ebp + 0x2b0]
mov dword [esi + 0x38], eax
call fcn.0045a1f0
mov eax, dword [ebp + 0x424]
xor edi, edi
cmp eax, edi
je 0x45c29b
cmp dword [esp + 0x38], edi
jne 0x45c2a1
mov eax, dword [ebp + 0x420]
lea esi, [ebp + 0x328]
mov dword [esi + 0x38], eax
call fcn.0045a1f0
mov eax, dword [ebp + 0x424]
cmp eax, edi
je 0x45c2bf
cmp dword [esp + 0x14], edi
jne 0x45c2c5
mov eax, dword [ebp + 0x420]
lea esi, [ebp + 0x3a0]
mov dword [esi + 0x38], eax
call fcn.0045a1f0
mov esi, dword [ebp + 0x2a4]
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
cmp esi, dword [ebp + 0x2a8]
jbe 0x45c2ee
call fcn.004f825e
mov edi, dword [ebp + 0x298]
mov ebx, esi
jmp 0x45c300
mov esi, dword [ebp + 0x2a8]
cmp dword [ebp + 0x2a4], esi
jbe 0x45c313
call fcn.004f825e
mov eax, dword [ebp + 0x298]
test edi, edi
je 0x45c321
cmp edi, eax
je 0x45c326
call fcn.004f825e
cmp ebx, esi
je 0x45c385
test edi, edi
jne 0x45c37d
call fcn.004f825e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x45c33f
call fcn.004f825e
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x38]
jbe 0x45c351
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx + 5]
mov dword [esp + 0x14], eax
test edi, edi
jne 0x45c381
call fcn.004f825e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x45c378
call fcn.004f825e
add ebx, 4
jmp 0x45c300
mov eax, dword [edi]
jmp 0x45c335
mov eax, dword [edi]
jmp 0x45c36e
mov eax, dword [esp + 0x38]
xor edx, edx
cmp dword [ebp + 0x418], edx
je 0x45c396
add eax, 0x28
mov ecx, dword [esp + 0x14]
add eax, 0x32
add ecx, 0x78
cmp eax, 0x15e
jge 0x45c3b3
mov dword [esp + 0x38], 0x15e
mov eax, dword [esp + 0x38]
cmp ecx, 0xa0
jge 0x45c3c7
mov dword [esp + 0x14], 0xa0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi]
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call edi
mov edx, dword [esi]
push eax
push 0
push 0xfffffffffffffff0
push edx
call edi
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push ecx
push edx
push 0
push 0
push 0
push eax
call edi
push esi
xor eax, eax
call fcn.0043ba10
mov ecx, dword [esi]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call edi
mov edx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [edx], 0
xor eax, eax
pop ebx
add esp, 0x24
ret 8