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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x47a997
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4921bc]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ebx, 7
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x178], edi
mov word [esp + 0x168], di
lea ecx, [eax + 2]
jmp 0x453360
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x453360
mov edx, dword [esp + 0x28]
sub eax, ecx
sar eax, 1
push eax
push edx
lea esi, [esp + 0x16c]
call fcn.00401890
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x144], ebx
mov dword [esp + 0x140], edi
mov word [esp + 0x130], di
fldz
mov eax, dword [esp + 0x64]
fstp qword [esp + 0xac]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x68], edi
mov byte [esp + 0x30], 0xff
mov byte [esp + 0x4c], al
mov byte [esp + 0x27], al
mov byte [esp + 0xa8], al
mov byte [esp + 0x24], al
mov dword [esp + 0x44], edi
mov byte [esp + 0x26], al
mov byte [esp + 0x25], al
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], edi
mov word [esp + 0x114], di
mov dword [esp + 0x160], ebx
mov dword [esp + 0x15c], edi
mov word [esp + 0x14c], di
mov edx, ebx
xor esi, esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], esi
mov word [esp + 0xf8], di
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], di
mov byte [esp + 0x1c0], 5
mov dword [esp + 0x20], edi
mov dword [esp + 0x70], edi
nop
cmp dword [esp + 0x70], 1
jne 0x4534af
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
je 0x453fc7
mov ecx, dword [esp + 0x28]
cmp word [ecx], 0
je 0x453fc7
jmp 0x4534de
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
cmp edx, 8
mov ecx, dword [esp + 0xf8]
mov eax, ecx
jae 0x4534f3
lea eax, [esp + 0xf8]
lea edi, [eax + esi*2]
test edi, edi
je 0x453521
cmp edx, 8
mov eax, ecx
jae 0x453508
lea eax, [esp + 0xf8]
cmp eax, edi
ja 0x453521
cmp edx, 8
mov eax, ecx
jae 0x45351a
lea eax, [esp + 0xf8]
lea eax, [eax + esi*2]
cmp edi, eax
jbe 0x453534
call fcn.004625df
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0xf8]
cmp edx, 8
jb 0x45376a
test ecx, ecx
mov esi, ecx
je 0x453571
cmp edx, 8
mov eax, ecx
jae 0x453551
lea eax, [esp + 0xf8]
cmp eax, esi
ja 0x453571
cmp edx, 8
mov eax, ecx
jae 0x453563
lea eax, [esp + 0xf8]
mov ecx, dword [esp + 0x108]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x453576
call fcn.004625df
push edi
lea eax, [esp + 0xf8]
push eax
push esi
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x108]
push ecx
call fcn.00403e90
mov ecx, dword [esp + 0xf0]
cmp ecx, 8
mov edx, dword [esp + 0xdc]
mov eax, edx
jae 0x4535b2
lea eax, [esp + 0xdc]
mov ebx, dword [esp + 0xec]
lea edi, [eax + ebx*2]
test edi, edi
je 0x4535e7
cmp ecx, 8
mov eax, edx
jae 0x4535ce
lea eax, [esp + 0xdc]
cmp eax, edi
ja 0x4535e7
cmp ecx, 8
mov eax, edx
jae 0x4535e0
lea eax, [esp + 0xdc]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x453601
call fcn.004625df
mov ecx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
mov edx, dword [esp + 0xdc]
cmp ecx, 8
jb 0x453776
test edx, edx
mov esi, edx
je 0x453637
cmp ecx, 8
mov eax, edx
jae 0x45361e
lea eax, [esp + 0xdc]
cmp eax, esi
ja 0x453637
cmp ecx, 8
mov eax, edx
jae 0x453630
lea eax, [esp + 0xdc]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x45363c
call fcn.004625df
push edi
lea eax, [esp + 0xdc]
push eax
push esi
push eax
lea edx, [esp + 0xd8]
push edx
push eax
call fcn.00403e90
mov ebx, dword [esp + 0x28]
movzx eax, word [ebx]
test ax, ax
je 0x453693
cmp ax, 0x3d
je 0x453693
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp ebx, esi
jae 0x45368b
movzx eax, word [ebx]
push eax
lea edi, [esp + 0xf8]
call fcn.004020f0
add ebx, 2
cmp ebx, esi
jb 0x453674
movzx eax, word [ebx]
test ax, ax
jne 0x453661
mov cx, word [ebx]
add ebx, 2
cmp cx, 0x3d
mov dword [esp + 0x28], ebx
jne 0x453fb9
mov dx, word [ebx]
add ebx, 2
cmp dx, 0x27
mov dword [esp + 0x28], ebx
jne 0x453fb9
movzx eax, word [ebx]
test ax, ax
je 0x4536ff
cmp ax, 0x27
je 0x4536ff
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp ebx, esi
jae 0x4536f7
jmp 0x4536e0
movzx eax, word [ebx]
push eax
lea edi, [esp + 0xdc]
call fcn.004020f0
add ebx, 2
cmp ebx, esi
jb 0x4536e0
movzx eax, word [ebx]
test ax, ax
jne 0x4536c3
mov ax, word [ebx]
add ebx, 2
cmp ax, 0x27
mov dword [esp + 0x28], ebx
jne 0x453fb9
cmp dword [esp + 0xec], 0
je 0x453f9f
mov eax, dword [esp + 0x108]
cmp eax, 4
mov esi, eax
jb 0x453734
mov esi, 4
cmp dword [esp + 0x10c], 8
mov edx, dword [esp + 0xf8]
jae 0x45374c
lea edx, [esp + 0xf8]
test esi, esi
mov ecx, str.file
jbe 0x453792
mov di, word [edx]
cmp di, word [ecx]
jne 0x453782
add edx, 2
add ecx, 2
sub esi, 1
jne 0x453755
jmp 0x453792
lea esi, [esp + 0xf8]
jmp 0x453543
lea esi, [esp + 0xdc]
jmp 0x453610
mov dx, di
cmp dx, word [ecx]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x45379f
cmp eax, 4
jb 0x4537a7
xor ecx, ecx
cmp eax, 4
setne cl
test ecx, ecx
je 0x453f87
push 0x481e14
mov edi, 3
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
je 0x453f87
mov eax, dword [esp + 0x108]
push str.restype
mov edi, 7
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
jne 0x4537fd
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x138]
jmp 0x453f9a
mov eax, dword [esp + 0x108]
push str.round
mov edi, 5
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
lea esi, [edi + 3]
jne 0x453882
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x453838
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00463632
add esp, 0xc
cmp dword [esp + 0xf0], esi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xdc]
jae 0x453866
lea eax, [esp + 0xdc]
push 0xa
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x94], eax
jmp 0x453f9f
mov eax, dword [esp + 0x108]
push str.iconsize
mov edi, esi
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
jne 0x4538d0
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x4538b7
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x453f9f
mov eax, dword [esp + 0x108]
push str.dest
mov edi, 4
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
jne 0x45397c
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x45390c
lea eax, [esp + 0xdc]
push 0xa
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00463632
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x74], eax
push 0xa
lea eax, [esp + 0x24]
push eax
add ecx, 2
push ecx
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.00463632
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x24]
push ecx
add edx, 2
push edx
mov dword [esp + 0x88], eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x453f9f
mov eax, dword [esp + 0x108]
push str.source
mov edi, 6
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
jne 0x453a22
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x4539b8
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.00463632
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x24]
push ecx
add edx, 2
push edx
mov dword [esp + 0x64], eax
call fcn.00463632
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x5c], eax
push 0xa
lea eax, [esp + 0x24]
push eax
add ecx, 2
push ecx
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x453f9f
mov eax, dword [esp + 0x108]
push str.corner
lea ecx, [esp + 0xf8]
call fcn.00407c00
test eax, eax
jne 0x453acf
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x453a59
lea eax, [esp + 0xdc]
push 0xa
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00463632
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x98], eax
push 0xa
lea eax, [esp + 0x24]
push eax
add ecx, 2
push ecx
call fcn.00463632
add esp, 0xc
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x20]
push 0xa
lea edx, [esp + 0x24]
push edx
add eax, 2
push eax
call fcn.00463632
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x24]
push ecx
add edx, 2
push edx
mov dword [esp + 0xac], eax
call fcn.00463632
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x453f9f
mov esi, str.right
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453b42
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453afc
lea eax, [esp + 0xdc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453b31
test dx, dx
je 0x453b23
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453b31
add eax, 4
add ecx, 4
test dx, dx
jne 0x453b01
xor eax, eax
test eax, eax
sete byte [esp + 0x25]
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x25]
jmp 0x453f9f
mov esi, str.mask
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453bc9
xor edi, edi
lea eax, [esp + 0xd8]
call fcn.004078b0
cmp word [eax], 0x23
mov eax, dword [esp + 0xdc]
jne 0x453b9f
cmp dword [esp + 0xf0], 8
jae 0x453b83
lea eax, [esp + 0xdc]
push 0x10
lea ecx, [esp + 0x24]
push ecx
add eax, 2
push eax
call fcn.0046365b
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x453f9f
cmp dword [esp + 0xf0], 8
jae 0x453bb0
lea eax, [esp + 0xdc]
push 0x10
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0046365b
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x453f9f
mov esi, str.fade
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453c0f
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453bf6
lea eax, [esp + 0xdc]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.0046365b
add esp, 0xc
mov byte [esp + 0x30], al
jmp 0x453f9f
mov esi, str.hole
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453c86
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453c3c
lea eax, [esp + 0xdc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453c73
test dx, dx
je 0x453c63
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453c73
add eax, 4
add ecx, 4
test dx, dx
jne 0x453c41
xor eax, eax
test eax, eax
sete dl
mov byte [esp + 0x4c], dl
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete dl
mov byte [esp + 0x4c], dl
jmp 0x453f9f
mov esi, str.alphaClose
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453cf9
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453cb3
lea eax, [esp + 0xdc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453ce8
test dx, dx
je 0x453cda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453ce8
add eax, 4
add ecx, 4
test dx, dx
jne 0x453cb8
xor eax, eax
test eax, eax
sete byte [esp + 0x27]
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x27]
jmp 0x453f9f
mov esi, str.encrypt
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453d7b
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453d26
lea eax, [esp + 0xdc]
mov ecx, str.true
jmp 0x453d30
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453d65
test dx, dx
je 0x453d52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453d65
add eax, 4
add ecx, 4
test dx, dx
jne 0x453d30
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0xa8], al
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0xa8], al
jmp 0x453f9f
mov esi, str.icon
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453df1
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453da8
lea eax, [esp + 0xdc]
mov ecx, str.true
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453de0
test dx, dx
je 0x453dd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453de0
add eax, 4
add ecx, 4
test dx, dx
jne 0x453db0
xor eax, eax
test eax, eax
sete byte [esp + 0x24]
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x24]
jmp 0x453f9f
mov esi, str.reverse
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453e64
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453e1e
lea eax, [esp + 0xdc]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453e53
test dx, dx
je 0x453e45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453e53
add eax, 4
add ecx, 4
test dx, dx
jne 0x453e23
xor eax, eax
test eax, eax
sete byte [esp + 0x26]
jmp 0x453f9f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete byte [esp + 0x26]
jmp 0x453f9f
mov esi, str.rotate
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453ea8
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x453e91
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.004639a3
fstp qword [esp + 0xb4]
add esp, 8
jmp 0x453f9f
mov esi, str.rgnimage
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453ed5
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe0]
push ecx
lea eax, [esp + 0x11c]
jmp 0x453f9a
mov esi, str.rgnrestype
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453f02
push 0xffffffffffffffff
push 0
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x154]
jmp 0x453f9a
mov esi, str.rgnmask
lea ecx, [esp + 0xf4]
call fcn.004119a0
test al, al
je 0x453f9f
xor edi, edi
lea eax, [esp + 0xd8]
call fcn.004078b0
cmp word [eax], 0x23
mov eax, dword [esp + 0xdc]
jne 0x453f60
cmp dword [esp + 0xf0], 8
jae 0x453f47
lea eax, [esp + 0xdc]
push 0x10
lea ecx, [esp + 0x24]
push ecx
add eax, 2
push eax
call fcn.0046365b
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x453f9f
cmp dword [esp + 0xf0], 8
jae 0x453f71
lea eax, [esp + 0xdc]
push 0x10
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0046365b
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x453f9f
push 0xffffffffffffffff
lea eax, [esp + 0xdc]
push 0
push eax
lea eax, [esp + 0x170]
call fcn.00401790
mov cx, word [ebx]
add ebx, 2
cmp cx, 0x20
mov dword [esp + 0x28], ebx
jne 0x453fb9
cmp word [ebx], 0
jne 0x4534d0
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 2
mov dword [esp + 0x70], eax
jl 0x4534a0
cmp byte [esp + 0x25], 0
mov edx, dword [esp + 0x7c]
je 0x45400f
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x78]
sub eax, edx
mov dword [esp + 0x34], eax
add eax, edx
mov edx, dword [esp + 0x80]
add esi, ecx
add ecx, edx
mov dword [esp + 0x3c], eax
xor ebx, ebx
jmp 0x454046
xor ebx, ebx
cmp edx, ebx
jne 0x45401e
cmp dword [esp + 0x80], ebx
je 0x45404e
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov esi, dword [esp + 0x74]
mov ecx, dword [ecx + 4]
add esi, eax
add eax, edx
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
add esi, ecx
add ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], esi
cmp dword [esp + 0x140], ebx
mov edi, 8
jne 0x45408c
cmp dword [esp + 0x17c], edi
mov edx, dword [esp + 0x168]
jae 0x454073
lea edx, [esp + 0x168]
mov ecx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.00452570
add esp, 4
jmp 0x45410c
cmp dword [esp + 0x144], edi
mov edx, dword [esp + 0x130]
jae 0x4540a3
lea edx, [esp + 0x130]
sub esp, 0x1c
mov esi, esp
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x64], esp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
mov dword [esp + 0x64], ecx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4540c3
sub eax, dword [esp + 0x64]
sar eax, 1
push eax
push edx
call fcn.00401890
cmp dword [esp + 0x198], edi
mov eax, dword [esp + 0x184]
jae 0x4540f2
lea eax, [esp + 0x184]
mov edx, dword [esp + 0x84]
push edx
push eax
call fcn.004633d8
add esp, 4
push eax
call fcn.00452610
add esp, 0x24
mov esi, eax
cmp esi, ebx
jne 0x45427f
cmp byte [esp + 0x24], 0
je 0x454160
cmp dword [esp + 0x140], ebx
mov eax, dword [esp + 0x168]
sete cl
cmp dword [esp + 0x17c], edi
jae 0x45413e
lea eax, [esp + 0x168]
mov edx, dword [esp + 0x2c]
test cl, cl
setne cl
push ecx
push eax
mov eax, dword [esp + 0x4c]
push edx
call fcn.004526b0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x45427f
cmp dword [esp + 0xf0], edi
jb 0x454179
mov eax, dword [esp + 0xdc]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x10c], edi
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
jb 0x4541ac
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x160], edi
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x4541df
mov edx, dword [esp + 0x14c]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x128], edi
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], ebx
mov word [esp + 0x14c], bx
jb 0x454212
mov eax, dword [esp + 0x114]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x144], edi
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
jb 0x454245
mov ecx, dword [esp + 0x130]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x17c], edi
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], ebx
mov word [esp + 0x130], bx
jb 0x454278
mov edx, dword [esp + 0x168]
push edx
call fcn.0046207a
add esp, 4
xor al, al
jmp 0x4548aa
cmp dword [esp + 0x2c], ebx
jne 0x4543a2
cmp dword [esp + 0xf0], edi
jb 0x4542a2
mov eax, dword [esp + 0xdc]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x10c], edi
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
jb 0x4542d5
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x160], edi
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x454308
mov edx, dword [esp + 0x14c]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x128], edi
mov dword [esp + 0x160], 7
mov dword [esp + 0x15c], ebx
mov word [esp + 0x14c], bx
jb 0x45433b
mov eax, dword [esp + 0x114]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x144], edi
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
jb 0x45436e
mov ecx, dword [esp + 0x130]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x17c], edi
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], ebx
mov word [esp + 0x130], bx
jb 0x4548a8
mov edx, dword [esp + 0x168]
push edx
jmp 0x4548a0
cmp dword [esp + 0x54], ebx
jne 0x4543c8
cmp dword [esp + 0x5c], ebx
jne 0x4543c8
cmp dword [esp + 0x58], ebx
jne 0x4543c8
cmp dword [esp + 0x60], ebx
jne 0x4543c8
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
cmp byte [esp + 0x27], 0
je 0x4543d8
mov byte [esi + 0xc], 0
mov byte [esp + 0x30], 0xff
mov edx, dword [esp + 0x64]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xc0]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x454502
cmp dword [esp + 0xf0], edi
jb 0x454411
mov edx, dword [esp + 0xdc]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x10c], edi
mov esi, 7
mov word [esp + 0xdc], bx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], esi
jb 0x454445
mov eax, dword [esp + 0xf8]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x160], edi
mov word [esp + 0xf8], bx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], esi
jb 0x454474
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x128], edi
mov word [esp + 0x14c], bx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], esi
jb 0x4544a3
mov edx, dword [esp + 0x114]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x144], edi
mov word [esp + 0x114], bx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], esi
jb 0x4544d2
mov eax, dword [esp + 0x130]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x17c], edi
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov word [esp + 0x130], bx
jb 0x4548a8
mov ecx, dword [esp + 0x168]
push ecx
jmp 0x4548a0
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xc0]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4543f8
xor eax, eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0x1c0], 6
mov eax, dword [esp + 0x90]
cmp eax, ebx
jne 0x454568
cmp dword [esp + 0x94], ebx
je 0x4545b6
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xc0]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
push eax
lea edi, [esp + 0x90]
call fcn.00457780
add esp, 0x1c
mov edi, 8
cmp dword [esp + 0x124], ebx
je 0x45469f
cmp dword [esp + 0x15c], ebx
jne 0x4545f0
cmp dword [esp + 0x128], edi
mov edx, dword [esp + 0x114]
jae 0x4545e3
lea edx, [esp + 0x114]
push ebx
xor ecx, ecx
call fcn.00452570
add esp, 4
jmp 0x45463f
cmp dword [esp + 0x160], edi
mov edx, dword [esp + 0x14c]
jae 0x454607
lea edx, [esp + 0x14c]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x64], esp
call fcn.00401720
cmp dword [esp + 0x144], edi
mov eax, dword [esp + 0x130]
jae 0x45462c
lea eax, [esp + 0x130]
push ebx
push eax
call fcn.004633d8
add esp, 4
push eax
call fcn.00452610
add esp, 0x24
cmp eax, ebx
je 0x454791
mov ecx, dword [esp + 0x6c]
push ecx
push eax
push esi
lea eax, [esp + 0x40]
call fcn.004561f0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x454791
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x34]
push 1
push ecx
lea edx, [esp + 0x44]
push edx
push esi
push eax
lea eax, [esp + 0xb4]
lea edi, [esp + 0x70]
call fcn.00454910
add esp, 0x1c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x454791
cmp byte [esp + 0x26], 0
je 0x454703
push esi
lea edx, [esp + 0x38]
call fcn.00455fb0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
add esp, 4
push ecx
movzx ecx, byte [esi + 0xc]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x5c], eax
push edx
lea eax, [esp + 0xb4]
lea edi, [esp + 0x70]
call fcn.00454910
add esp, 0x1c
cmp dword [esp + 0x44], ebx
je 0x454791
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x454791
fldz
fld qword [esp + 0xac]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4548ce
sub esp, 8
fstp qword [esp]
push esi
lea eax, [esp + 0x40]
call fcn.004556f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45478f
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x68], edx
movzx edx, byte [esi + 0xc]
push edx
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
lea eax, [esp + 0xb4]
lea edi, [esp + 0x70]
call fcn.00454910
add esp, 0x1c
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
lea eax, [esp + 0x74]
call fcn.004576d0
mov esi, 8
cmp dword [esp + 0xf0], esi
jb 0x4547b8
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x10c], esi
mov edi, 7
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
jb 0x4547ec
mov edx, dword [esp + 0xf8]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x160], esi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x45481b
mov eax, dword [esp + 0x14c]
push eax
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x128], esi
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov word [esp + 0x14c], bx
jb 0x45484a
mov ecx, dword [esp + 0x114]
push ecx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x144], esi
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
jb 0x454879
mov edx, dword [esp + 0x130]
push edx
call fcn.0046207a
add esp, 4
cmp dword [esp + 0x17c], esi
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov word [esp + 0x130], bx
jb 0x4548a8
mov eax, dword [esp + 0x168]
push eax
call fcn.0046207a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00461f6b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
fstp st(0)
movzx edx, byte [esi + 0xc]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
lea eax, [esp + 0xb4]
lea edi, [esp + 0x70]
call fcn.00454910
add esp, 0x1c
jmp 0x454791