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

Disassembly:
push 0xffffffffffffffff
push 0x5f3c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x60]
call fcn.004918b0
mov ebp, dword [esp + 0x84]
xor ebx, ebx
xor eax, eax
cmp ebp, 0x2020032
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
je 0x517650
cmp ebp, 0x2020033
je 0x517650
test byte [esp + 0x88], 0xf
je 0x517650
test ebp, 0x80000000
jne 0x517650
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x354], 1
je 0x517458
cmp dword [ecx + 0x350], ebx
je 0x5175dc
cmp ebp, 0x2020054
jne 0x5181dc
mov eax, dword [0x6707bc]
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x84]
push ebx
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x8c], 1
call fcn.00510500
mov edi, eax
cmp edi, ebx
je 0x5175ba
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x5175ba
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x8c]
push ebx
push edx
push eax
add ecx, 0x280
call fcn.004f4970
test eax, eax
je 0x5175ba
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x90]
push eax
push ebx
add ecx, 0x264
call fcn.004f48d0
test eax, eax
je 0x5175ba
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 0xc]
cmp edx, dword [ecx + 8]
jne 0x51751a
mov eax, dword [eax]
push ebp
push eax
call fcn.0052d867
add esp, 8
test eax, eax
je 0x51751d
inc ebx
jmp 0x5174d9
mov ecx, dword [esi + 0x5c]
push ebx
add ecx, 0x264
call fcn.004f4910
test eax, eax
je 0x5175ba
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + 0x3c]
test ecx, ecx
jne 0x517546
xor ecx, ecx
jmp 0x517549
mov ecx, dword [edx + 0x34]
push eax
mov eax, dword [edx + 0x3c]
shr eax, 2
push eax
push ecx
call fcn.004928c0
add esp, 0xc
mov ecx, 0x6756e0
mov esi, eax
push 0
push 0
push 0
push 0
call fcn.004097e0
mov ecx, dword [esp + 0x8c]
push ecx
push 1
mov ecx, 0x6756e0
call fcn.00409c10
test eax, eax
je 0x5175ba
mov ecx, dword [edi + 0xc]
mov edx, dword [eax]
xor ebx, ebx
push 0
test ecx, ecx
setg bl
push 0
lea ecx, [ebx + ecx + 2]
push ecx
push esi
mov ecx, eax
call dword [edx + 0xd8]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.005bc421
jmp 0x5181dc
push 0x30
mov ecx, 0x6756e0
call fcn.00484ab0
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.005bc421
jmp 0x5181dc
cmp ebp, 0x2020054
jne 0x517629
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 8]
cmp eax, ebx
je 0x517629
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
add ecx, 0x280
call fcn.004f4970
cmp eax, 1
jne 0x517629
mov eax, dword [esp + 0x1c]
mov ecx, 0x6756e0
push eax
push 1
call fcn.00409c10
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x517629
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
jmp 0x517632
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x676258
call fcn.0050be60
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [ebp - 0x2020004]
cmp ecx, 0x7c
ja case.0x51766a.33685525
or edi, 0xffffffff
xor edx, edx
mov dl, byte [ecx + 0x518284]
jmp dword [edx*4 + 0x51823c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.004ae760
jmp 0x5181a6
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x2b8
call fcn.004f4880
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push 0
push 0
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x94]
push eax
add ecx, 0x14
mov dword [esp + 0x3c], edx
call fcn.004f4200
mov ebp, eax
test ebp, ebp
je 0x5181a6
lea ebx, [ebp + 0x18]
push ebx
call fcn.00492830
add ebx, eax
push ebx
call fcn.00492830
mov ecx, dword [ebp]
mov edi, dword [ebx + eax]
add esp, 8
add ebx, eax
push 0
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.00462300
test edi, edi
mov dword [esp + 0x90], eax
je 0x5181a6
test eax, eax
je 0x5181a6
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005bde79
test eax, eax
mov dword [esp + 0x84], eax
je 0x5181a6
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x24]
push eax
call fcn.005c50bd
mov edx, dword [esp + 0x24]
cmp edx, 0xffff8001
jl 0x51776d
cmp edx, 0x7fff
jge 0x517774
jmp 0x51777d
mov edx, 0xffff8001
jmp 0x517779
mov edx, 0x7fff
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffff8001
jl 0x517793
cmp ecx, 0x7fff
jge 0x51779a
jmp 0x5177a3
mov ecx, 0xffff8001
jmp 0x51779f
mov ecx, 0x7fff
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
sub eax, edx
js 0x5177b2
cmp eax, 0x7fff
jge 0x5177be
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, eax
jmp 0x5177c3
mov ebx, 0x7fff
mov eax, dword [esp + 0x30]
sub eax, ecx
js 0x5177d2
cmp eax, 0x7fff
jge 0x5177e4
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov ebp, edx
mov edx, dword [esp + 0x24]
jmp 0x5177e9
mov ebp, 0x7fff
lea eax, [ebx + edx]
add ecx, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.005c50bd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0x14
push ebp
push ebx
push edx
push eax
push 0
mov ecx, edi
call fcn.005bd79e
mov ecx, dword [esp + 0x90]
test dword [ecx + 0x14], 0x100000
je 0x517855
mov eax, dword [esi + 0x90]
push 0
push 0
push 0x8004
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x84]
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.005c50bd
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esi + 0x4c]
push 0xfffffffffffffffd
push eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.00511520
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x5178b0
mov ecx, esi
call fcn.0051d630
jmp 0x5178b2
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jl 0x5178eb
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x5178dd
mov ecx, esi
call fcn.0051d630
mov ecx, dword [esp + 0x28]
jmp 0x5178df
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0x7fff
jge 0x517942
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x517906
mov ecx, esi
call fcn.0051d630
mov ecx, dword [esp + 0x28]
jmp 0x517908
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jge 0x51791b
mov eax, 0xffff8001
jmp 0x517947
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x51793a
mov ecx, esi
call fcn.0051d630
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x517947
xor eax, eax
sub ecx, eax
mov eax, ecx
jmp 0x517947
mov eax, 0x7fff
push 0xfffffffffffffffc
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
mov ecx, esi
call fcn.00511520
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x4c]
sub ecx, eax
push 0xfffffffffffffffb
push ecx
push ebp
push ebx
push edx
mov ecx, esi
call fcn.00511520
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x4c]
sub eax, edx
push 0xfffffffffffffffa
push eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.00511520
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
je 0x5179b5
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005c50f9
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x24]
push edx
call fcn.005c50bd
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.0051a2a0
mov ecx, esi
call fcn.00519ef0
jmp 0x5181a6
lea ecx, [esp + 0x38]
call fcn.004918b0
mov ebx, 0x5f7a80
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 2
call fcn.004918b0
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x8c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.00491be0
push 0xfffffffffffffffb
lea ecx, [esp + 0x50]
call fcn.00491be0
mov ebx, dword [esp + 0x90]
lea ecx, [esp + 0x24]
mov eax, ebx
lea edx, [esp + 0x38]
and eax, 0xffff
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004ae760
mov eax, dword [esp + 0x5c]
shr eax, 2
test eax, eax
jle 0x517a6e
mov ecx, dword [esp + 0x54]
mov dword [ecx], 0xfffffffa
lea edx, [esp + 0x24]
lea eax, [esp + 0x38]
shr ebx, 0x10
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.004ae760
mov edi, 0x5f7940
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x4c], edi
call fcn.00491ab0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
jmp 0x5181a1
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x5181a6
push ebp
mov ecx, esi
call fcn.00518730
jmp 0x5181a6
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x5181a6
push ebp
mov ecx, esi
call fcn.00518350
jmp 0x5181a6
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x5181a6
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x2b8
call fcn.004f4880
xor edx, edx
cmp ebp, 0x2020076
mov ebp, dword [esi + 0x8c]
mov edi, eax
sete dl
shr ebp, 2
xor ebx, ebx
mov dword [esp + 0x8c], edx
test ebp, ebp
jle 0x517b47
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esi + 0x4c]
mov edx, dword [ecx + ebx*4]
push SysReAllocStringLen
push edx
push edi
push eax
mov ecx, esi
call fcn.00511280
inc ebx
cmp ebx, ebp
jl 0x517b1f
push 0
mov ecx, esi
call fcn.00519af0
jmp 0x5181a6
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x5181a6
lea ecx, [esp + 0x38]
call fcn.004918b0
lea ecx, [esp + 0x38]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x84], 5
call fcn.0051c0a0
mov edx, dword [esp + 0x48]
shr edx, 2
test edx, edx
jle 0x517c18
add ebp, 0xfdfdffc1
xor ecx, ecx
xor eax, eax
cmp ebp, 7
ja case.default.0x517b9d
jmp dword [ebp*4 + 0x518304]
mov ecx, edi
jmp case.default.0x517b9d
mov eax, edi
jmp case.default.0x517b9d
mov ecx, dword [0x6755b4]
cmp ecx, 1
jge 0x517bbc
mov ecx, 1
neg ecx
jmp case.default.0x517b9d
mov ecx, dword [0x6755b4]
cmp ecx, 1
jge case.default.0x517b9d
mov ecx, 1
jmp case.default.0x517b9d
mov eax, dword [0x6755b8]
cmp eax, 1
jge 0x517be1
mov eax, 1
neg eax
jmp case.default.0x517b9d
mov eax, dword [0x6755b8]
cmp eax, 1
jge case.default.0x517b9d
mov eax, 1
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0x202003d
call fcn.005173d0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x5f7940
lea ecx, [esp + 0x38]
jmp 0x5181a1
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x2b8
call fcn.004f4880
mov ebx, eax
add ebp, 0xfdfdffb9
xor eax, eax
cmp ebp, 7
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
ja case.default.0x517c61
jmp dword [ebp*4 + 0x518324]
mov dword [esp + 0x8c], edi
jmp case.default.0x517c61
mov dword [esp + 0x90], edi
jmp case.default.0x517c61
mov dword [esp + 0x90], 1
jmp case.default.0x517c61
mov eax, dword [0x6755b4]
cmp eax, 1
jge 0x517c96
mov eax, 1
neg eax
mov dword [esp + 0x8c], eax
jmp case.default.0x517c61
mov eax, dword [0x6755b4]
cmp eax, 1
jge 0x517c98
mov dword [esp + 0x8c], 1
jmp case.default.0x517c61
mov eax, dword [0x6755b8]
cmp eax, 1
jge 0x517cc7
mov eax, 1
neg eax
jmp 0x517ce0
mov eax, dword [0x6755b8]
mov dword [esp + 0x90], 1
cmp eax, 1
jl case.default.0x517c61
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x24]
call fcn.004918b0
mov eax, dword [esi + 0x78]
mov byte [esp + 0x7c], 6
cmp eax, 1
push 0
jne 0x517d16
mov ecx, dword [esi + 0x4c]
add ecx, 0x14
call fcn.004f4160
push eax
lea ecx, [esp + 0x28]
call fcn.00491be0
jmp 0x517d22
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.0051c0a0
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov eax, ecx
neg eax
sbb eax, eax
shr ecx, 2
and eax, ebp
test ecx, ecx
jle 0x517e1e
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ebp, dword [eax]
mov ecx, dword [esi + 0x4c]
push 0
push 0
push ebp
add ecx, 0x14
call fcn.004f4200
test eax, eax
je 0x517df8
lea edi, [eax + 0x18]
push edi
call fcn.00492830
add edi, eax
push edi
call fcn.00492830
mov edx, dword [edi + eax + 8]
mov ecx, dword [edi + eax + 0x10]
lea eax, [edi + eax + 4]
add esp, 8
add ecx, edx
mov edi, dword [eax]
mov eax, dword [eax + 8]
add eax, edi
push ecx
push eax
push edx
lea eax, [esp + 0x44]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
sub ecx, edi
push 0xfffffffffffffffb
lea eax, [ecx + edx]
xor ecx, ecx
test eax, eax
mov edx, dword [esi + 0x4c]
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push ebp
push ebx
push edx
call fcn.00511520
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x90]
add eax, ecx
xor edx, edx
test eax, eax
setl dl
dec edx
push 0xfffffffffffffffa
and eax, edx
mov ecx, esi
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
call fcn.00511520
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add eax, 4
dec ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
jne 0x517d4b
mov ecx, esi
call fcn.005193e0
push 0
push 0
mov ecx, esi
call fcn.0051a2a0
cmp dword [esi + 0x78], 1
jne 0x517e44
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00519ef0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x5f7940
lea ecx, [esp + 0x24]
jmp 0x5181a1
mov eax, dword [esp + 0x90]
movsx ebx, ax
shr eax, 0x10
movsx eax, ax
test ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
jne 0x517e85
test eax, eax
je 0x5181a6
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x10]
mov edi, eax
shr edi, 2
test eax, eax
jne 0x517e9c
xor ebp, ebp
jmp 0x517e9f
mov ebp, dword [ecx + 8]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x2b8
call fcn.004f4880
test edi, edi
mov dword [esp + 0x90], eax
jle 0x51802e
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], edi
mov eax, dword [ebp]
mov ecx, dword [esi + 0x4c]
push 0
push 0
push eax
add ecx, 0x14
mov dword [esp + 0x98], eax
call fcn.004f4200
test eax, eax
je 0x51800e
lea edi, [eax + 0x18]
push edi
call fcn.00492830
add edi, eax
push edi
call fcn.00492830
mov ebp, dword [edi + eax]
add edi, eax
add esp, 8
lea eax, [esp + 0x38]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005bde79
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.005c50bd
mov eax, dword [edi + 0x18]
mov dword [esp + 0x84], 0
test eax, eax
jne 0x517f5b
mov ecx, esi
call fcn.0051d630
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x38]
add ebx, edx
cmp ebx, 0xffff8001
jl 0x517f79
cmp ebx, 0x7fff
jge 0x517f80
cmp ebx, 0xffff8001
jge 0x517f85
mov ebx, 0xffff8001
jmp 0x517f85
mov ebx, 0x7fff
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esi + 0x4c]
push 0xfffffffffffffffd
push ebx
push eax
push ecx
push edx
mov ecx, esi
call fcn.00511520
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
cmp edi, 0xffff8001
jl 0x517fc6
cmp edi, 0x7fff
jge 0x517fcd
cmp edi, 0xffff8001
jge 0x517fd2
mov edi, 0xffff8001
jmp 0x517fd2
mov edi, 0x7fff
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
push 0xfffffffffffffffc
push edi
push edx
push eax
push ecx
mov ecx, esi
call fcn.00511520
mov edx, dword [esp + 0x84]
push 0x15
push 0
add edi, edx
push 0
push edi
push ebx
push 0
mov ecx, ebp
call fcn.005bd79e
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], eax
jne 0x517ecb
push 0
push 0
mov ecx, esi
call fcn.0051a2a0
mov ecx, esi
call fcn.00519ef0
jmp 0x5181a6
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
call fcn.0050f5b0
jmp 0x5181a6
push ebp
mov ecx, esi
call fcn.00518e60
jmp 0x5181a6
push ebp
mov ecx, esi
call fcn.00510360
jmp 0x5181a6
mov ecx, esi
call fcn.0051c7f0
mov ecx, esi
call fcn.00518c40
jmp 0x5181a6
mov ecx, esi
call fcn.0051cc50
jmp 0x5181a6
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
mov ecx, esi
call fcn.005107e0
jmp 0x5181a6
mov ecx, 0x6757a0
call fcn.00467120
test eax, eax
jne 0x5180f2
push 0x67018c
mov ecx, 0x676088
call fcn.005bc5aa
mov eax, dword [0x67602c]
mov dword [0x67608c], 0x40
push 0
push 0x73
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x5181a6
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x2b8
call fcn.004f4880
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.004918b0
lea eax, [esp + 0x38]
mov ecx, 0x6756e0
push eax
push ebx
mov byte [esp + 0x84], 7
call fcn.0043f130
cmp eax, 1
jne 0x518190
mov ecx, esi
call fcn.0051d690
mov ecx, esi
call fcn.005193e0
cmp dword [0x675550], 1
jne 0x51817e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x51817e
mov edi, dword [esp + 0x40]
test edi, edi
je 0x51817e
cmp byte [edi], 0
je 0x51817e
push edi
mov ebx, edi
call fcn.00492830
add edi, eax
push edi
mov ebp, edi
call fcn.00492830
mov ecx, dword [esi + 0x4c]
add esp, 8
add edi, eax
push ebp
push ebx
call fcn.004f0530
cmp byte [edi], 0
jne 0x518158
push 0
push 0
push 0
push 0
mov ecx, 0x6756e0
call fcn.004097e0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x5f7940
lea ecx, [esp + 0x38]
call fcn.00491ab0
cmp dword [esp + 0x14], 1
jne 0x5181dc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5181be
mov edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
jmp 0x5181c7
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x676258
call fcn.0050bf30
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x5f7940
call fcn.00491ab0
mov eax, 1
jmp 0x518226
cmp eax, 1
jne 0x51820b
mov ecx, 0x676258
call fcn.0050bf00
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x5f7940
call fcn.00491ab0
xor eax, eax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 0x10