Function at 0x485750
Capabilities:
Capture screenshot
Generate random numbers using a mersenne twister
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8d4
mov eax, dword [ebp + 8]
mov al, byte [eax + 2]
mov ecx, dword [0x515e10]
push ebx
mov dl, 1
cmp dl, al
push esi
push edi
sbb edi, edi
and edi, dword [0x515e14]
mov dl, 7
cmp dl, al
sbb ebx, ebx
and ebx, dword [0x515e2c]
xor esi, esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xbc], ebx
cmp ecx, esi
je 0x4857a3
call fcn.0041bc60
cmp edi, esi
je 0x4857ae
mov ecx, edi
call fcn.0041bc60
cmp ebx, esi
je 0x4857b9
mov ecx, ebx
call fcn.0041bc60
mov eax, dword [0x51161c]
movzx edi, word [eax + 0xf0]
xor ebx, ebx
and edi, 3
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], esi
cmp edi, 2
je 0x48584e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x34], eax
cmp eax, esi
je 0x48584e
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x48584e
mov eax, dword [esp + 0x34]
cmp edi, esi
jne 0x485811
lea edx, [esp + 0xe0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x48582e
lea edx, [esp + 0xe0]
push edx
push eax
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x48584e
add ebx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
add dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], ebx
mov ebx, dword [ebp + 0x1c]
push 0x2e
push ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], esi
call fcn.004c6cf1
mov edi, eax
add esp, 8
cmp edi, esi
je 0x4858d8
add edi, 2
push 0x507c38
push edi
call fcn.004c4e9d
add esp, 8
test eax, eax
je 0x4858bc
push 0x507c40
push edi
call fcn.004c4e9d
add esp, 8
test eax, eax
je 0x4858bc
push 0x507c48
push edi
call fcn.004c4e9d
add esp, 8
test eax, eax
jne 0x4858d8
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call edi
push 0x32
mov dword [esp + 0xa4], eax
call edi
mov dword [esp + 0x9c], eax
mov eax, 3
mov dword [esp + 0x98], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0xb4], esi
mov byte [esp + 0xab], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0x4a], 0
mov byte [esp + 0x67], 1
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x6c], eax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x68], 0x3e8
mov dword [esp + 0xa4], 0xff000000
mov byte [esp + 0x27], 0
mov byte [esp + 0x5e], 1
mov byte [esp + 0x1d], 0
mov byte [esp + 0x12], 0
mov esi, ebx
lea ecx, [ecx]
movzx eax, word [esi]
cmp eax, 0x20
je 0x48596d
cmp eax, 9
jne 0x485972
add esi, 2
jmp 0x485960
cmp word [esi], 0x2a
jne 0x48613b
jmp 0x485984
mov esi, dword [esp + 0x38]
mov edi, 2
movzx edx, word [esi + edi]
add esi, edi
push edx
call fcn.004c6789
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x16
ja case.0x4859ab.66
movzx eax, byte [eax + 0x488814]
jmp dword [eax*4 + 0x4887f0]
push 3
push 0x507c50
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
lea ecx, [esp + 0x78]
add esi, 6
push ecx
mov ecx, esi
mov byte [esp + 0x17], 1
call fcn.00493620
add esp, 4
jmp 0x4860cb
push 0xa
push 0x507c58
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485a10
add esi, 0x14
mov byte [esp + 0x1d], 1
jmp 0x4860cb
push 0xa
push 0x507c80
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
add esi, 0x14
mov byte [esp + 0x1d], 1
mov byte [esp + 0x12], 1
jmp 0x4860cb
push 0xa
push 0x507bcc
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485a71
add esi, 0x14
mov byte [esp + 0x4a], 1
mov byte [esp + 0x67], al
jmp 0x4860cb
push 4
push 0x507bf4
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485a9b
add esi, 8
mov byte [esp + 0x4a], 1
jmp 0x4860cb
lea edi, [esi + 2]
mov eax, edi
call fcn.0040f110
test al, al
je 0x485ac2
push 0x10
push 0
push edi
call fcn.004c663f
add esp, 0xc
mov dword [esp + 0x9c], eax
jmp 0x4860cb
push edi
call fcn.004c6186
add esp, 4
mov dword [esp + 0x9c], eax
jmp 0x4860cb
push 4
push str.Icon
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
add esi, 8
mov eax, esi
call fcn.0040f110
test al, al
je 0x485b13
push 0x10
push 0
push esi
call fcn.004c663f
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x4860cb
push esi
call fcn.004c6186
add esp, 4
mov dword [esp + 0x34], eax
jmp 0x4860cb
push 6
push str.R7__
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
push 6
push 0x507cc8
add esi, 0xc
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485b76
mov dword [esp + 0xb8], 1
jmp 0x4860cb
push 6
push str.CENTER
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485b96
mov dword [esp + 0xb8], edi
jmp 0x4860cb
push edi
push 0x507cf8
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c74
push edi
push 0x507d00
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c74
push edi
push 0x507d08
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c64
push edi
push 0x507d10
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c64
push edi
push 0x507d18
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c54
push edi
push 0x507d20
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c54
push edi
push 0x507d28
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c44
push edi
push 0x507d30
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
je 0x485c44
mov byte [esp + 0xf], 1
jmp 0x4860cb
mov dword [esp + 0xb8], 6
jmp 0x4860cb
mov dword [esp + 0xb8], 5
jmp 0x4860cb
mov dword [esp + 0xb8], 4
jmp 0x4860cb
mov dword [esp + 0xb8], 3
jmp 0x4860cb
push 4
push 0x507d38
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
push edi
add esi, 8
push 0x507cf8
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485cc8
mov dword [esp + 0x6c], 1
jmp 0x4860cb
push edi
push 0x507d00
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485ce8
mov dword [esp + 0x6c], 7
jmp 0x4860cb
push edi
push 0x507d30
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485d08
mov dword [esp + 0x6c], 5
jmp 0x4860cb
push edi
push 0x507d18
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485d24
mov dword [esp + 0x6c], edi
jmp 0x4860cb
push edi
push 0x507d20
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485d44
mov dword [esp + 0x6c], 8
jmp 0x4860cb
push edi
push 0x507d08
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485d60
mov dword [esp + 0x6c], eax
jmp 0x4860cb
push edi
push 0x507d10
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485d80
mov dword [esp + 0x6c], 6
jmp 0x4860cb
push edi
push 0x507d28
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485fb8
mov dword [esp + 0x6c], 3
jmp 0x4860cb
push 8
push 0x507d54
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485dca
add esi, 0x10
lea edi, [esp + 0x44]
jmp 0x485dee
push 5
push 0x507b68
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485e07
add esi, 0xa
lea edi, [esp + 0x7c]
mov ecx, esi
call fcn.00493710
test al, al
jne 0x4860cb
mov byte [esp + 0xf], 1
jmp 0x4860cb
push 6
push 0x507d78
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x4860cb
push 0xa
push 0x507bcc
add esi, 0xc
mov byte [esp + 0x2f], 1
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485e5b
add esi, 0x14
mov byte [esp + 0x10], 1
mov byte [esp + 0x5e], al
jmp 0x485eac
push 4
push 0x507bf4
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485e7f
mov byte [esp + 0x10], 1
jmp 0x485ea4
push 4
push 0x4ec7dc
call fcn.0049fc00
add esp, 4
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x485fb8
mov byte [esp + 0x10], al
add esi, 8
mov byte [esp + 0x5e], 1
cmp byte [esp + 0xf], 0
mov dword [esp + 0x38], esi
jne 0x4860cb
cmp dword [esp + 0xb4], 0
jne 0x4860cb
push 0x207
lea edx, [esp + 0x2d4]
push esi
push edx
call fcn.004c67b5
xor eax, eax
mov word [esp + 0x6ea], ax
add esp, 0xc
mov ebx, 0x4e6dc4
lea eax, [esp + 0x2d0]
call fcn.00409df0
test eax, eax
je 0x485f03
xor ecx, ecx
mov word [eax], cx
cmp byte [esp + 0x10], 0
je 0x485f22
lea esi, [esp + 0x2d0]
call fcn.0041bbf0
mov dword [esp + 0xb4], eax
jmp 0x485fac
push 0x207
lea edx, [esp + 0x2d4]
push esi
push edx
call fcn.004c67b5
xor eax, eax
add esp, 0xc
cmp word [esp + 0x2d0], 0x3c
mov word [esp + 0x6de], ax
jne 0x485fb8
mov ebx, 0x507c10
lea eax, [esp + 0x2d2]
call fcn.00409df0
test eax, eax
je 0x485fb8
xor ecx, ecx
push ecx
push ecx
push ecx
mov word [eax], cx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2e0]
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x2e6]
lea eax, [esi + eax*2 + 2]
push 0
push edx
mov dword [esp + 0x54], eax
call fcn.004a8870
mov ecx, 1
add esp, 0x1c
mov dword [esp + 0xb4], eax
cmp dword [esp + 0x50], ecx
jne 0x485fac
mov byte [esp + 0xf], cl
mov esi, dword [esp + 0x38]
test eax, eax
jne 0x4860cb
mov byte [esp + 0xf], 1
jmp 0x4860cb
mov eax, dword [0x5194a4]
push edi
push eax
push esi
call fcn.004c56eb
add esp, 0xc
test eax, eax
jne 0x486005
add esi, 4
cmp dword [ebp + 0x14], eax
jle 0x485fe4
mov eax, dword [ebp + 0xc]
dec eax
jmp 0x485fe6
xor eax, eax
add dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0
jle 0x485ffb
mov eax, dword [ebp + 0x10]
dec eax
add dword [ebp + 0x18], eax
jmp 0x4860cb
xor eax, eax
add dword [ebp + 0x18], eax
jmp 0x4860cb
lea edi, [esi + 2]
mov eax, edi
call fcn.0040f110
test al, al
je 0x48602c
push 0x10
push 0
push edi
call fcn.004c663f
add esp, 0xc
mov dword [esp + 0xa0], eax
jmp 0x4860cb
push edi
call fcn.004c6186
add esp, 4
mov dword [esp + 0xa0], eax
jmp 0x4860cb
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x486050
cmp ecx, 9
jne 0x486054
add eax, edi
jmp 0x486043
movzx ecx, word [eax]
test cx, cx
je 0x4860a1
cmp ecx, 0x2d
je 0x486066
cmp ecx, 0x2b
jne 0x486069
add eax, 2
cmp word [eax], 0x30
jne 0x4860a1
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x48607d
cmp ecx, 0x58
jne 0x4860a1
movzx ecx, word [eax + 4]
push ecx
call fcn.004c644d
add esp, 4
test eax, eax
je 0x4860a1
push 0x10
push 0
push esi
call fcn.004c663f
add esp, 0xc
mov dword [esp + 0x74], eax
jmp 0x4860ae
push esi
call fcn.004c6186
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
jns 0x4860bc
mov dword [esp + 0x74], 0
jmp 0x4860cb
cmp eax, 0xff
jle 0x4860cb
mov dword [esp + 0x74], 0xff
test esi, esi
je 0x486241
movzx eax, word [esi]
test ax, ax
je 0x486241
nop
movzx edx, ax
mov ecx, 0x4e6dc4
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x486112
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4860f0
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x4860e0
jmp 0x486241
lea eax, [esi + 2]
mov dword [ebp + 0x1c], eax
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x486125
cmp ecx, 9
jne 0x48612a
add eax, 2
jmp 0x486118
cmp word [eax], 0x2a
mov dword [esp + 0x38], eax
je 0x485980
mov ebx, dword [ebp + 0x1c]
cmp byte [esp + 0x27], 0
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0xb0], 0
jne 0x48616b
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], ecx
add esi, eax
add edi, ecx
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
jne 0x48617a
mov dword [esp + 0x44], eax
jmp 0x486181
mov dword [esp + 0xa4], eax
cmp byte [esp + 0x4a], 0
je 0x4861ad
mov eax, ebx
call fcn.0040f110
test al, al
je 0x4861a2
push 0x10
push 0
push ebx
call fcn.004c6bff
add esp, 0xc
jmp 0x4861d7
push ebx
call fcn.004c6191
add esp, 4
jmp 0x4861d7
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x9c]
push 0
push 0
push edx
mov edx, dword [esp + 0xac]
lea eax, [esp + 0xbc]
push eax
push ecx
push edx
push ebx
call fcn.004a8870
add esp, 0x1c
mov dword [esp + 0x98], eax
test eax, eax
je 0x486241
cmp byte [esp + 0xf], 0
jne 0x486241
cmp byte [esp + 0x27], 0
push 0
je 0x486203
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0xf4], ebx
jmp 0x486212
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0xf4], eax
xor eax, eax
cmp ebx, eax
jne 0x4862b6
cmp byte [esp + 0x4a], al
je 0x486228
cmp byte [esp + 0x67], al
je 0x486241
mov eax, dword [esp + 0x98]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x98], 0
cmp byte [esp + 0x5e], 0
je 0x48625a
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x48625a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x98]
test eax, eax
je 0x48627a
cmp byte [esp + 0x4a], 0
je 0x486273
cmp byte [esp + 0x67], 0
je 0x48627a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x51161c]
test byte [ecx + 0x100], 1
jne 0x486299
push 1
push 0
push 0xffffffffffffffff
push 0x4e6e3c
jmp 0x4887d9
mov ecx, dword [ebp + 8]
push 0x4e1a4c
push 0
push 0x4e6e3c
call fcn.0042ef30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esp + 0xb0], 1
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xc4], eax
mov byte [esp + 0xf], al
jne 0x48636d
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x2a4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x48634c
push 1
lea edx, [esp + 0x15]
push edx
mov edx, dword [esp + 0x2b8]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov eax, ebx
call fcn.0043a630
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x2c8]
add esp, 0x14
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x2b0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x98]
push edx
call fcn.004a91e0
add esp, 4
mov dword [esp + 0x98], eax
test eax, eax
je 0x487b6b
jmp 0x486374
mov eax, dword [esp + 0x98]
push 8
lea ecx, [esp + 0x15]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
mov eax, ebx
call fcn.0043a630
add esp, 0x14
mov dword [esp + 0x4c], eax
test eax, eax
je 0x487b6b
cmp byte [esp + 0x27], 0
jne 0x486448
sub esi, dword [ebp + 0xc]
sub edi, dword [ebp + 0x10]
inc esi
push ebx
mov dword [esp + 0x38], esi
inc edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0xa0], esi
test esi, esi
je 0x487b6b
mov edx, dword [esp + 0x34]
push edi
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x9c], eax
test eax, eax
je 0x487b6b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xc4], eax
test eax, eax
je 0x487b6b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
push 0xcc0020
push ecx
push edx
push ebx
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x487b6b
push 8
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
mov eax, esi
jmp 0x48652b
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0xa0], eax
test eax, eax
je 0x487b6b
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp + 0x10]
jne 0x486495
test ebx, ebx
jne 0x486495
test esi, esi
jne 0x486495
test edi, edi
jne 0x486495
push 8
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
jmp 0x486524
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x2b8]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x487b6b
test esi, esi
jne 0x4864d1
test edi, edi
jne 0x4864d1
mov edx, dword [esp + 0x2bc]
mov eax, dword [esp + 0x2c0]
dec edx
dec eax
mov edi, eax
mov esi, edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xb4]
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push ebx
push eax
sub edi, ebx
sub esi, eax
inc edi
push edi
inc esi
push esi
push ecx
lea edx, [esp + 0xc4]
push edx
call fcn.00496570
add esp, 0x2c
test al, al
je 0x487b6b
push 8
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0xb4]
call fcn.0043a630
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x487b6b
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
imul edi, dword [esp + 0x30]
imul edx, dword [esp + 0x80]
cmp byte [esp + 0x11], 0
mov dword [esp + 0x88], edi
mov dword [esp + 0x60], edx
jne 0x48656f
cmp byte [esp + 0x10], 0
je 0x4865ad
or eax, 0xffffffff
mov ebx, 0xf8f8f8
cmp dword [esp + 0x44], eax
je 0x486581
and dword [esp + 0x44], ebx
cmp dword [esp + 0x7c], eax
je 0x48658b
and dword [esp + 0x7c], ebx
xor eax, eax
test edx, edx
jle 0x486599
and dword [ecx + eax*4], ebx
inc eax
cmp eax, edx
jl 0x486591
xor esi, esi
test edi, edi
jle 0x4865b1
mov eax, dword [esp + 0x4c]
and dword [eax + esi*4], ebx
inc esi
cmp esi, edi
jl 0x4865a3
jmp 0x4865b1
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x1d], 0
mov ebx, dword [esp + 0x74]
mov byte [esp + 0x10], 0
mov byte [esp + 0x1f], 0
je 0x4867ea
xor esi, esi
mov byte [esp + 0x10], 1
test edx, edx
jle 0x486649
mov eax, dword [esp + 0x3c]
lea esp, [esp]
mov eax, dword [eax + esi*4]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
movzx eax, al
movzx ecx, cl
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0x12], 0
je 0x48662f
mov ecx, 0xff
sub ecx, ebx
cmp eax, ecx
mov eax, dword [esp + 0x3c]
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [eax + esi*4], edx
jmp 0x486642
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [eax + esi*4], ecx
inc esi
cmp esi, dword [esp + 0x60]
jl 0x4865e0
xor esi, esi
cmp dword [esp + 0x7c], 0xffffffff
mov byte [esp + 0x1f], 1
je 0x486711
test edi, edi
jle 0x486787
mov ecx, dword [esp + 0x4c]
jmp 0x486670
mov eax, dword [ecx + esi*4]
and eax, 0xffffff
cmp eax, dword [esp + 0x7c]
jne 0x486686
mov dword [ecx + esi*4], eax
jmp 0x486706
cmp byte [esp + 0x12], 0
mov edx, eax
je 0x4866d0
shr edx, 8
movzx ecx, dl
mov edx, eax
shr edx, 0x10
movzx edx, dl
add ecx, edx
movzx eax, al
add ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 0xff
sub edx, ebx
cmp ecx, edx
mov ecx, dword [esp + 0x4c]
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [ecx + esi*4], eax
jmp 0x486706
mov ecx, eax
shr edx, 0x10
shr ecx, 8
movzx edx, dl
movzx eax, al
movzx ecx, cl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x4c]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx + esi*4], edx
inc esi
cmp esi, edi
jl 0x486670
jmp 0x486787
test edi, edi
jle 0x486787
mov eax, dword [esp + 0x4c]
lea esp, [esp]
mov eax, dword [eax + esi*4]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x10
movzx eax, al
movzx ecx, cl
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0x12], 0
je 0x48676f
mov ecx, 0xff
sub ecx, ebx
cmp eax, ecx
mov eax, dword [esp + 0x4c]
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [eax + esi*4], edx
jmp 0x486782
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [eax + esi*4], ecx
inc esi
cmp esi, edi
jl 0x486720
cmp dword [esp + 0x44], 0xffffffff
je 0x4867d7
mov eax, dword [esp + 0x44]
mov edx, eax
shr edx, 8
movzx ecx, dl
mov edx, eax
shr edx, 0x10
movzx eax, al
movzx edx, dl
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esp + 0x12], 0
je 0x48681f
mov ecx, 0xff
sub ecx, ebx
cmp eax, ecx
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [esp + 0x44], eax
cmp byte [esp + 0x12], 0
je 0x4867ea
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x74]
cmp dword [esp + 0x6c], 3
jne 0x486831
cmp byte [esp + 0x1f], 0
jne 0x4869de
xor esi, esi
test edi, edi
jle 0x4869de
mov eax, dword [esp + 0x4c]
add eax, 3
mov ecx, edi
mov esi, edi
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x486811
jmp 0x4869de
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esp + 0x44], ecx
jmp 0x4867ea
lea edx, [edi*4]
push edx
call fcn.004c4f28
add esp, 4
mov dword [esp + 0xc0], eax
test eax, eax
je 0x487b6f
mov eax, dword [esp + 0x60]
lea ecx, [eax*4]
push ecx
call fcn.004c4f28
add esp, 4
mov dword [esp + 0x94], eax
test eax, eax
je 0x487b6f
cmp byte [esp + 0x1f], 0
jne 0x4868a3
test edi, edi
jle 0x4868c1
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov edx, edi
lea ecx, [ecx]
mov esi, dword [ecx + eax]
and esi, 0xffffff
mov dword [eax], esi
add eax, 4
dec edx
jne 0x486890
jmp 0x4868c1
test edi, edi
jle 0x4868c1
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov edx, edi
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4868b6
xor esi, esi
cmp byte [esp + 0x10], 0
jne 0x4868f6
cmp dword [esp + 0x60], esi
jle 0x486922
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
sub ecx, eax
mov esi, edx
mov edi, dword [ecx + eax]
and edi, 0xffffff
mov dword [eax], edi
add eax, 4
dec edx
jne 0x4868e3
jmp 0x48691b
cmp dword [esp + 0x60], esi
jle 0x486922
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x60]
sub ecx, eax
mov esi, edx
nop
mov edi, dword [eax + ecx]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x486910
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x100], ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x108], eax
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0xe4]
mov byte [esp + 0x14], 1
mov dword [esp + 0xf0], edi
mov dword [esp + 0x108], edx
call fcn.00488c30
add esp, 4
cmp dword [esp + 0x6c], 4
jle 0x4869de
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0xbc]
neg edx
sbb dl, dl
and dl, byte [esp + 0x13]
mov byte [esp + 0x13], dl
je 0x486a20
mov eax, dword [esp + 0x78]
test eax, eax
je 0x486a00
inc eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
lea ecx, [eax*4]
push ecx
call fcn.004c4f28
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
je 0x487b6f
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
je 0x4875d5
cmp ebx, 1
jge 0x486e7b
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 0x60]
jne 0x486a59
test edx, edx
jle 0x486a59
mov eax, dword [esp + 0x3c]
add eax, 3
mov ecx, edx
mov edi, edi
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x486a50
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x90], eax
je 0x486c8c
cmp edx, eax
jle 0x487b35
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
add ecx, ecx
add ecx, ecx
mov edx, dword [ecx + edx]
cmp edx, eax
je 0x486aad
mov esi, dword [esp + 0x90]
cmp dword [esi], 0
jne 0x486aad
cmp eax, dword [esp + 0x7c]
jne 0x486c6d
cmp edx, dword [esp + 0x44]
je 0x486c6d
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x80]
sub edx, eax
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x30], edx
jg 0x486c6d
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x58]
cmp dword [esp + 0x20], eax
jg 0x486c6d
mov esi, dword [esp + 0x14]
xor eax, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov edi, esi
cmp dword [esp + 0x88], eax
jle 0x486b95
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x90]
sub ebx, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0xb0], ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax]
cmp edx, ecx
je 0x486b53
cmp dword [ebx + eax], 0
jne 0x486b53
cmp ecx, dword [esp + 0x7c]
jne 0x486c85
cmp edx, dword [esp + 0x44]
je 0x486c85
mov ebx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x20]
jge 0x486b65
inc edi
jmp 0x486b80
mov edx, dword [esp + 0x18]
lea ecx, [edx*4]
add dword [esp + 0x34], ecx
add esi, edx
mov dword [esp + 0x28], 0
mov edi, esi
mov ecx, dword [esp + 0x70]
inc ecx
add eax, 4
mov dword [esp + 0x70], ecx
cmp ecx, dword [esp + 0x88]
jl 0x486b25
cmp byte [esp + 0x13], 0
je 0x487b63
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
cmp ebx, eax
jne 0x486bf7
lea edx, [eax*4 + 0xfa0]
push edx
call fcn.004c4f28
mov esi, eax
add esp, 4
test esi, esi
je 0x487b6b
mov edi, dword [esp + 0x54]
lea eax, [ebx*4]
push eax
push edi
push esi
call fcn.004cd6c0
add esp, 0xc
push edi
call fcn.004c57e5
mov ecx, dword [esp + 0x6c]
add esp, 4
add ecx, 0x3e8
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x20]
add esi, dword [esp + 0x58]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x30]
inc ebx
lea eax, [ecx + edx]
mov dword [esp + 0x2c], ebx
cmp ecx, eax
jge 0x486c5b
mov edi, dword [esp + 0x3c]
mov edx, ecx
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x58]
sub eax, ecx
lea edx, [edi + edx*4]
mov ebx, eax
cmp dword [esp + 0x58], esi
jge 0x486c4e
mov eax, dword [esp + 0xa4]
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
add eax, eax
add eax, eax
add edx, eax
dec ebx
jne 0x486c37
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x486c6d
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x486a74
jmp 0x487b35
mov byte [esp + 0xf], 0
jmp 0x486c6d
cmp edx, eax
jle 0x487b35
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add ecx, ecx
add ecx, ecx
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
cmp edx, eax
je 0x486cc1
cmp eax, dword [esp + 0x7c]
jne 0x486e5c
cmp edx, dword [esp + 0x44]
je 0x486e5c
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov ebx, edx
mov edx, dword [esp + 0x80]
mov esi, eax
sub edx, esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x8c], esi
cmp dword [esp + 0x30], edx
jg 0x486e5c
mov eax, dword [esp + 0x18]
sub eax, ebx
cmp dword [esp + 0x20], eax
jg 0x486e5c
mov edx, dword [esp + 0x14]
xor edi, edi
mov byte [esp + 0xf], 1
mov dword [esp + 0x70], edi
cmp dword [esp + 0x88], edi
jle 0x486d83
mov byte [esp + 0xf], 1
mov esi, edx
mov dword [esp + 0x34], ecx
mov ebx, edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + ebx*4]
cmp ecx, eax
je 0x486d4b
cmp eax, dword [esp + 0x7c]
jne 0x486e74
cmp ecx, dword [esp + 0x44]
je 0x486e74
mov ebx, dword [esp + 0x70]
inc edi
cmp edi, dword [esp + 0x20]
jge 0x486d55
inc edx
jmp 0x486d6a
mov ecx, dword [esp + 0x18]
lea eax, [ecx*4]
add dword [esp + 0x34], eax
xor edi, edi
add esi, ecx
mov edx, esi
inc ebx
mov dword [esp + 0x70], ebx
cmp ebx, dword [esp + 0x88]
jl 0x486d21
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x8c]
cmp byte [esp + 0x13], 0
je 0x487b63
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x2c], eax
jne 0x486dea
lea ecx, [eax*4 + 0xfa0]
push ecx
call fcn.004c4f28
mov edi, eax
add esp, 4
test edi, edi
je 0x487b6b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
lea eax, [edx*4]
push eax
push ecx
push edi
call fcn.004cd6c0
mov edx, dword [esp + 0x60]
add esp, 0xc
push edx
call fcn.004c57e5
mov eax, dword [esp + 0x6c]
add esp, 4
add eax, 0x3e8
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, esi
cmp esi, eax
jge 0x486e4a
mov edx, dword [esp + 0x3c]
mov ecx, esi
imul ecx, dword [esp + 0x18]
add ecx, ebx
sub eax, esi
lea edx, [edx + ecx*4]
mov esi, eax
lea esp, [esp]
mov eax, dword [esp + 0x20]
add eax, ebx
cmp ebx, eax
jge 0x486e3d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xa4]
add ecx, ebx
sub ecx, ebx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
add eax, eax
add eax, eax
add edx, eax
dec esi
jne 0x486e20
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x486e5c
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x486c94
jmp 0x487b35
mov byte [esp + 0xf], 0
jmp 0x486e5c
mov eax, ecx
shr eax, 0x10
movzx esi, al
mov edx, ecx
shr edx, 8
mov byte [esp + 0x11], al
cmp ebx, esi
jle 0x486e9a
mov byte [esp + 0x87], 0
jmp 0x486ea3
sub al, bl
mov byte [esp + 0x87], al
movzx eax, dl
mov dword [esp + 0x50], eax
cmp ebx, eax
jle 0x486eb5
mov byte [esp + 0x41], 0
jmp 0x486ebd
mov al, dl
sub al, bl
mov byte [esp + 0x41], al
movzx edi, cl
cmp ebx, edi
jle 0x486ecb
mov byte [esp + 0x4b], 0
jmp 0x486ed3
mov al, cl
sub al, bl
mov byte [esp + 0x4b], al
mov eax, 0xff
sub eax, esi
cmp ebx, eax
jle 0x486ee8
mov byte [esp + 0x86], 0xff
jmp 0x486ef5
mov al, bl
add al, byte [esp + 0x11]
mov byte [esp + 0x86], al
mov eax, 0xff
sub eax, dword [esp + 0x50]
cmp ebx, eax
jle 0x486f09
mov byte [esp + 0x43], 0xff
jmp 0x486f10
lea eax, [edx + ebx]
mov byte [esp + 0x43], al
mov edx, 0xff
sub edx, edi
cmp ebx, edx
jle 0x486f22
mov byte [esp + 0x42], 0xff
jmp 0x486f28
add bl, cl
mov byte [esp + 0x42], bl
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x90], eax
je 0x487291
cmp dword [esp + 0x60], eax
jle 0x487b35
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
sub ecx, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x30], ecx
jg 0x487272
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x58]
cmp dword [esp + 0x20], edx
jg 0x487272
mov edi, dword [esp + 0x14]
xor eax, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], edi
cmp dword [esp + 0x88], eax
jle 0x487182
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x50], ecx
add ecx, ecx
add ecx, ecx
add edx, edx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x90]
add edx, edx
mov esi, eax
sub ecx, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0xb0], ecx
mov edi, edi
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx + edi*4 + 2]
mov al, byte [ecx + edi*4 + 1]
mov cl, byte [ecx + edi*4]
mov byte [esp + 0x1e], dl
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x26], al
mov byte [esp + 0x11], cl
cmp dword [esi], edx
jne 0x487049
mov dl, byte [esp + 0x1e]
cmp dl, byte [esp + 0x87]
jb 0x487130
cmp dl, byte [esp + 0x86]
ja 0x487130
cmp al, byte [esp + 0x41]
jb 0x487130
cmp al, byte [esp + 0x43]
ja 0x487130
cmp cl, byte [esp + 0x4b]
jb 0x487130
cmp cl, byte [esp + 0x42]
ja 0x487130
mov al, byte [esi + 2]
mov cl, byte [esi]
mov bl, byte [esi + 1]
mov edx, dword [esp + 0x74]
movzx esi, al
mov byte [esp + 0x12], cl
cmp edx, esi
jle 0x487067
mov byte [esp + 0x5f], 0
jmp 0x48706f
mov cl, al
sub cl, dl
mov byte [esp + 0x5f], cl
movzx ecx, bl
cmp edx, ecx
jle 0x48707d
mov byte [esp + 0x1d], 0
jmp 0x487085
mov cl, bl
sub cl, dl
mov byte [esp + 0x1d], cl
movzx edi, byte [esp + 0x12]
cmp edx, edi
jle 0x487095
mov byte [esp + 0x10], 0
jmp 0x48709f
mov cl, byte [esp + 0x12]
sub cl, dl
mov byte [esp + 0x10], cl
mov ecx, 0xff
sub ecx, esi
cmp edx, ecx
jle 0x4870b1
mov byte [esp + 0x1f], 0xff
jmp 0x4870b8
lea ecx, [eax + edx]
mov byte [esp + 0x1f], cl
movzx eax, bl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x4870cb
or cl, 0xff
jmp 0x4870ce
lea ecx, [ebx + edx]
mov eax, 0xff
sub eax, edi
cmp edx, eax
jle 0x4870dd
or al, 0xff
jmp 0x4870e3
mov al, dl
add al, byte [esp + 0x12]
mov dl, byte [esp + 0x5f]
cmp byte [esp + 0x1e], dl
jb 0x487113
mov dl, byte [esp + 0x1e]
cmp dl, byte [esp + 0x1f]
ja 0x487113
mov dl, byte [esp + 0x26]
cmp dl, byte [esp + 0x1d]
jb 0x487113
cmp dl, cl
ja 0x487113
mov cl, byte [esp + 0x11]
cmp cl, byte [esp + 0x10]
jb 0x487113
cmp cl, al
jbe 0x487128
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xb0]
cmp dword [eax + ecx], 0
je 0x48728a
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jge 0x487142
inc edi
jmp 0x487161
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
add dword [esp + 0xac], edx
add edi, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x70]
inc eax
add esi, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], esi
cmp eax, dword [esp + 0x88]
jl 0x486fe0
cmp byte [esp + 0x13], 0
je 0x487b63
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x2c]
cmp edi, eax
jne 0x4871e4
lea eax, [eax*4 + 0xfa0]
push eax
call fcn.004c4f28
mov esi, eax
add esp, 4
test esi, esi
je 0x487b6b
lea ecx, [edi*4]
mov edi, dword [esp + 0x54]
push ecx
push edi
push esi
call fcn.004cd6c0
add esp, 0xc
push edi
call fcn.004c57e5
mov edx, dword [esp + 0x6c]
add esp, 4
add edx, 0x3e8
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea esi, [edi + edx]
cmp ecx, eax
jge 0x487260
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x8c]
lea edx, [ecx*4]
mov dword [esp + 0x38], edx
mov edx, ebx
imul edx, ecx
mov ecx, dword [esp + 0x3c]
add edx, edi
sub eax, ebx
lea edx, [ecx + edx*4]
mov ebx, eax
lea esp, [esp]
cmp edi, esi
jge 0x487259
mov eax, dword [esp + 0xa4]
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x58]
add edx, dword [esp + 0x38]
dec ebx
jne 0x487240
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x487272
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x486f45
jmp 0x487b35
mov byte [esp + 0xf], 0
jmp 0x487272
cmp dword [esp + 0x60], eax
jle 0x487b35
jmp 0x4872a0
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov ebx, edx
mov edx, dword [esp + 0x80]
mov ecx, eax
sub edx, ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x30], edx
jg 0x4875b6
mov eax, dword [esp + 0x18]
sub eax, ebx
cmp dword [esp + 0x20], eax
jg 0x4875b6
mov esi, dword [esp + 0x14]
xor edi, edi
mov byte [esp + 0xf], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], esi
cmp dword [esp + 0x88], edi
jle 0x4874d8
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword [esp + 0xac], eax
add eax, eax
lea edx, [ecx*4]
add eax, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx + esi*4 + 2]
mov al, byte [ecx + esi*4 + 1]
mov ebx, dword [esp + 0x4c]
mov cl, byte [ecx + esi*4]
mov byte [esp + 0x1e], dl
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x26], al
mov byte [esp + 0x11], cl
cmp dword [ebx + edi*4], edx
jne 0x487392
mov dl, byte [esp + 0x1e]
cmp dl, byte [esp + 0x87]
jb 0x487483
cmp dl, byte [esp + 0x86]
ja 0x487483
cmp al, byte [esp + 0x41]
jb 0x487483
cmp al, byte [esp + 0x43]
ja 0x487483
cmp cl, byte [esp + 0x4b]
jb 0x487483
cmp cl, byte [esp + 0x42]
ja 0x487483
mov esi, dword [esp + 0x4c]
mov al, byte [esi + edi*4 + 2]
mov cl, byte [esi + edi*4]
mov bl, byte [esi + edi*4 + 1]
mov edx, dword [esp + 0x74]
movzx esi, al
mov byte [esp + 0x12], cl
cmp edx, esi
jle 0x4873b7
mov byte [esp + 0x5f], 0
jmp 0x4873bf
mov cl, al
sub cl, dl
mov byte [esp + 0x5f], cl
movzx ecx, bl
cmp edx, ecx
jle 0x4873cd
mov byte [esp + 0x1d], 0
jmp 0x4873d5
mov cl, bl
sub cl, dl
mov byte [esp + 0x1d], cl
movzx edi, byte [esp + 0x12]
cmp edx, edi
jle 0x4873e5
mov byte [esp + 0x10], 0
jmp 0x4873ef
mov cl, byte [esp + 0x12]
sub cl, dl
mov byte [esp + 0x10], cl
mov ecx, 0xff
sub ecx, esi
cmp edx, ecx
jle 0x487401
mov byte [esp + 0x1f], 0xff
jmp 0x487408
lea ecx, [eax + edx]
mov byte [esp + 0x1f], cl
movzx eax, bl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x48741b
or cl, 0xff
jmp 0x48741e
lea ecx, [ebx + edx]
mov eax, 0xff
sub eax, edi
cmp edx, eax
jle 0x48742d
or al, 0xff
jmp 0x487433
mov al, dl
add al, byte [esp + 0x12]
mov dl, byte [esp + 0x5f]
cmp byte [esp + 0x1e], dl
jb 0x4875ce
mov dl, byte [esp + 0x1e]
cmp dl, byte [esp + 0x1f]
ja 0x4875ce
mov dl, byte [esp + 0x26]
cmp dl, byte [esp + 0x1d]
jb 0x4875ce
cmp dl, cl
ja 0x4875ce
mov cl, byte [esp + 0x11]
cmp cl, byte [esp + 0x10]
jb 0x4875ce
cmp cl, al
ja 0x4875ce
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jge 0x487499
inc esi
jmp 0x4874bb
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xac]
add dword [esp + 0x50], eax
add esi, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0xac], esi
inc edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x70], edi
cmp edi, dword [esp + 0x88]
jl 0x487324
mov ecx, dword [esp + 0x8c]
cmp byte [esp + 0x13], 0
je 0x487b63
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x2c], eax
jne 0x487543
lea ecx, [eax*4 + 0xfa0]
push ecx
call fcn.004c4f28
mov esi, eax
add esp, 4
test esi, esi
je 0x487b6b
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
lea eax, [edx*4]
push eax
push edi
push esi
call fcn.004cd6c0
add esp, 0xc
push edi
call fcn.004c57e5
mov ecx, dword [esp + 0x6c]
add esp, 4
add ecx, 0x3e8
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea esi, [ebx + edx]
cmp ecx, eax
jge 0x4875a4
imul ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
add ecx, ebx
sub eax, dword [esp + 0x8c]
lea edx, [edx + ecx*4]
mov dword [esp + 0x50], eax
cmp ebx, esi
jge 0x487594
mov eax, dword [esp + 0xa4]
mov ecx, esi
sub ecx, ebx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
add eax, eax
add eax, eax
add edx, eax
dec dword [esp + 0x50]
jne 0x487581
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x4875b6
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x4872a0
jmp 0x487b35
mov byte [esp + 0xf], 0
jmp 0x4875b6
cmp ebx, 1
jge 0x48781d
cmp byte [esp + 0x10], 0
mov edx, dword [esp + 0x60]
jne 0x4875ff
test edx, edx
jle 0x4875ff
mov eax, dword [esp + 0x3c]
add eax, 3
mov ecx, edx
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4875f6
mov dword [esp + 0x14], 0
test edx, edx
jle 0x487b35
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
add edi, edi
add edi, edi
cmp dword [edi + ecx], eax
je 0x487640
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x487636
cmp dword [ecx], 0
jne 0x487640
cmp eax, dword [esp + 0x7c]
jne 0x4877fe
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x80]
sub edx, eax
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x30], edx
jg 0x4877fe
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x58]
cmp dword [esp + 0x20], eax
jg 0x4877fe
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov byte [esp + 0xf], 1
mov dword [esp + 0x70], ebx
mov esi, ecx
cmp dword [esp + 0x88], ebx
jle 0x487714
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
sub edx, eax
mov byte [esp + 0xf], 1
mov dword [esp + 0x50], edi
mov dword [esp + 0xb0], edx
mov edx, dword [eax]
mov edi, dword [esp + 0x3c]
cmp dword [edi + esi*4], edx
je 0x4876e0
cmp dword [esp + 0x90], 0
je 0x4876d6
mov edi, dword [esp + 0xb0]
cmp dword [eax + edi], 0
jne 0x4876e0
cmp edx, dword [esp + 0x7c]
jne 0x487816
inc ebx
cmp ebx, dword [esp + 0x20]
jge 0x4876ea
inc esi
jmp 0x4876ff
mov edx, dword [esp + 0x18]
lea esi, [edx*4]
add dword [esp + 0x50], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x70]
inc edx
add eax, 4
mov dword [esp + 0x70], edx
cmp edx, dword [esp + 0x88]
jl 0x4876b4
cmp byte [esp + 0x13], 0
je 0x487b63
mov ebx, dword [esp + 0x68]
cmp dword [esp + 0x2c], ebx
jne 0x487774
lea ecx, [ebx*4 + 0xfa0]
push ecx
call fcn.004c4f28
mov esi, eax
add esp, 4
test esi, esi
je 0x487b6b
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x54]
lea eax, [edx*4]
push eax
push edi
push esi
call fcn.004cd6c0
add esp, 0xc
push edi
call fcn.004c57e5
add esp, 4
add ebx, 0x3e8
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x58]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, edi
lea esi, [ebx + ecx]
cmp edi, eax
jge 0x4877ec
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4]
mov dword [esp + 0x38], edx
mov edx, edi
imul edx, ecx
mov ecx, dword [esp + 0x3c]
add edx, ebx
sub eax, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa4]
lea edx, [ecx + edx*4]
mov edi, edi
cmp ebx, esi
jge 0x4877e2
mov ebx, dword [esp + 0x58]
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov edi, edx
rep stosd dword es:[edi], eax
add edx, dword [esp + 0x38]
dec dword [esp + 0x50]
jne 0x4877d0
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x4877fe
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x48760f
jmp 0x487b35
mov byte [esp + 0xf], 0
jmp 0x4877fe
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x60], ecx
jle 0x487b35
lea ecx, [ecx]
mov eax, ecx
cdq
idiv dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x80]
sub eax, edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x8c], edi
cmp dword [esp + 0x30], eax
jg 0x487b26
mov eax, dword [esp + 0x18]
sub eax, edx
cmp dword [esp + 0x20], eax
jg 0x487b26
xor eax, eax
mov esi, ecx
mov byte [esp + 0xf], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], esi
cmp dword [esp + 0x88], eax
jle 0x487a3e
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
lea eax, [edx*4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
add ecx, ecx
add ecx, ecx
sub eax, edi
mov byte [esp + 0xf], 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0xb0], eax
mov al, byte [edi + 2]
mov cl, byte [edi]
mov dl, byte [edi + 1]
movzx edi, al
mov byte [esp + 0x11], cl
cmp ebx, edi
jle 0x4878de
mov byte [esp + 0x26], 0
jmp 0x4878e6
mov cl, al
sub cl, bl
mov byte [esp + 0x26], cl
movzx ecx, dl
cmp ebx, ecx
jle 0x4878f4
mov byte [esp + 0x4b], 0
jmp 0x4878fc
mov cl, dl
sub cl, bl
mov byte [esp + 0x4b], cl
movzx ecx, byte [esp + 0x11]
mov dword [esp + 0xe0], ecx
cmp ebx, ecx
jle 0x487913
mov byte [esp + 0x41], 0
jmp 0x48791d
mov cl, byte [esp + 0x11]
sub cl, bl
mov byte [esp + 0x41], cl
mov ecx, 0xff
sub ecx, edi
cmp ebx, ecx
jle 0x48792f
mov byte [esp + 0x42], 0xff
jmp 0x487936
lea ecx, [eax + ebx]
mov byte [esp + 0x42], cl
movzx eax, dl
mov ecx, 0xff
sub ecx, eax
cmp ebx, ecx
jle 0x48794b
mov byte [esp + 0x43], 0xff
jmp 0x487952
lea eax, [edx + ebx]
mov byte [esp + 0x43], al
mov edx, 0xff
sub edx, dword [esp + 0xe0]
cmp ebx, edx
jle 0x487969
mov byte [esp + 0x11], 0xff
jmp 0x487973
mov al, bl
add al, byte [esp + 0x11]
mov byte [esp + 0x11], al
mov edx, dword [esp + 0x3c]
mov al, byte [edx + esi*4 + 2]
mov cl, byte [edx + esi*4 + 1]
mov edi, dword [esp + 0x34]
mov dl, byte [edx + esi*4]
mov esi, dword [edi]
cmp esi, dword [esp + 0x7c]
je 0x4879cd
cmp al, byte [esp + 0x26]
jb 0x4879b2
cmp al, byte [esp + 0x42]
ja 0x4879b2
cmp cl, byte [esp + 0x4b]
jb 0x4879b2
cmp cl, byte [esp + 0x43]
ja 0x4879b2
cmp dl, byte [esp + 0x41]
jb 0x4879b2
cmp dl, byte [esp + 0x11]
jbe 0x4879c9
cmp dword [esp + 0x90], 0
je 0x487a2d
mov eax, dword [esp + 0xb0]
cmp dword [eax + edi], 0
je 0x487a2d
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jge 0x4879e7
mov esi, dword [esp + 0x44]
inc esi
mov dword [esp + 0x44], esi
jmp 0x487a0f
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xac]
add dword [esp + 0x50], ecx
add eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0xac], eax
mov esi, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
inc eax
add edi, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], edi
cmp eax, dword [esp + 0x88]
jge 0x487a37
jmp 0x4878c4
mov byte [esp + 0xf], 0
jmp 0x487b1e
mov edi, dword [esp + 0x8c]
cmp byte [esp + 0x13], 0
je 0x487b63
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x2c], eax
jne 0x487aa2
lea edx, [eax*4 + 0xfa0]
push edx
call fcn.004c4f28
mov esi, eax
add esp, 4
test esi, esi
je 0x487b6b
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x54]
lea ecx, [eax*4]
push ecx
push ebx
push esi
call fcn.004cd6c0
add esp, 0xc
push ebx
call fcn.004c57e5
mov edx, dword [esp + 0x6c]
add esp, 4
add edx, 0x3e8
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, edi
lea esi, [ecx + edx]
cmp edi, eax
jge 0x487b10
mov edx, dword [esp + 0x18]
lea ebx, [edx*4]
mov dword [esp + 0x38], ebx
mov ebx, edi
imul ebx, edx
mov edx, dword [esp + 0x3c]
add ebx, ecx
sub eax, edi
lea edx, [edx + ebx*4]
mov ebx, eax
lea esp, [esp]
cmp ecx, esi
jge 0x487b09
mov eax, dword [esp + 0xa4]
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
add edx, dword [esp + 0x38]
dec ebx
jne 0x487af0
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x487b1e
cmp eax, dword [esp + 0x2c]
jle 0x487b35
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x74]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x60]
jl 0x487830
cmp byte [esp + 0x13], 0
je 0x487b46
cmp dword [esp + 0x2c], 0
setne byte [esp + 0xf]
cmp byte [esp + 0xf], 0
jne 0x487b63
mov eax, dword [0x5166e0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6784
push eax
call fcn.004aa2a0
mov byte [esp + 0xab], 1
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0xa4], ecx
cmp byte [esp + 0xf], al
je 0x487c2a
mov edx, dword [esp + 0x6c]
cmp edx, 4
jle 0x487bc3
mov ebx, dword [esp + 0x80]
mov eax, edi
mov edi, ecx
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x80], eax
cmp dword [esp + 0xbc], 0
je 0x487c2a
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x487c2a
push ecx
push eax
cmp edx, 3
jne 0x487bfe
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x90]
push edx
jmp 0x487c20
mov eax, dword [esp + 0xc8]
push eax
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov edx, edi
call fcn.004888b0
add esp, 0x1c
cmp byte [esp + 0x27], 0
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x487c43
mov edx, dword [esp + 0xf4]
push edx
call ebx
jmp 0x487c53
mov eax, dword [esp + 0xf4]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x5e], 0
je 0x487c72
cmp dword [esp + 0xb4], 0
je 0x487c72
mov ecx, dword [esp + 0xb4]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x98], 0
je 0x487c98
cmp byte [esp + 0x4a], 0
je 0x487c8a
cmp byte [esp + 0x67], 0
je 0x487c98
mov edx, dword [esp + 0x98]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xa0], 0
je 0x487ccc
cmp dword [esp + 0xc4], 0
je 0x487cc2
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xa0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0xa0]
push edx
call ebx
cmp dword [esp + 0x9c], 0
je 0x487ce4
mov eax, dword [esp + 0x9c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xc0], 0
je 0x487cfe
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004c57e5
add esp, 4
cmp dword [esp + 0x94], 0
je 0x487d18
mov edx, dword [esp + 0x94]
push edx
call fcn.004c57e5
add esp, 4
mov bl, byte [esp + 0xf]
test bl, bl
jne 0x487d3c
cmp dword [esp + 0x54], 0
je 0x487d3c
mov eax, dword [esp + 0x54]
push eax
call fcn.004c57e5
add esp, 4
mov dword [esp + 0x54], 0
cmp dword [esp + 0x4c], 0
je 0x487d50
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c57e5
add esp, 4
cmp dword [esp + 0x90], 0
je 0x487d6a
mov edx, dword [esp + 0x90]
push edx
call fcn.004c57e5
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x487d7e
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c57e5
add esp, 4
cmp byte [esp + 0xab], 0
jne 0x487e16
mov esi, dword [0x5166e0]
cmp byte [esi + 0x17], 0
jne 0x487d9b
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x487db1
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [esi + 0x15]
and al, 0x9b
or al, 0x18
mov dword [esi], 2
mov dword [esi + 4], 0
mov byte [esi + 0x15], al
jns 0x487de3
mov eax, esi
call fcn.00401610
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [0x51603c], 0
je 0x487df0
test al, 0x10
jne 0x487dfd
cmp dword [0x516040], 0
je 0x487e08
test al, 0x20
je 0x487e08
test al, 8
je 0x487e08
mov eax, esi
call fcn.00401610
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test bl, bl
je 0x487e08
cmp byte [esp + 0x13], 0
jne 0x488080
cmp dword [esp + 0x6c], 3
je 0x487e48
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
mov eax, esi
call fcn.00488830
mov edi, dword [esp + 0x20]
mov esi, eax
mov eax, esi
cdq
idiv dword [esp + 0x18]
cmp byte [esp + 0x27], 0
je 0x487e64
mov ecx, dword [ebp + 0xc]
lea esi, [edx + ecx]
mov edx, dword [ebp + 0x10]
lea ebx, [eax + edx]
jmp 0x487e7c
sub edx, dword [esp + 0xd0]
sub eax, dword [esp + 0xd4]
add edx, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov esi, edx
mov ebx, eax
mov edx, dword [esp + 0xb8]
test edx, edx
je 0x487fe1
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x487f88
cmp eax, 7
je 0x487f88
cmp eax, 2
je 0x487f91
cmp eax, 8
je 0x487f91
test eax, eax
je 0x487ebc
cmp eax, 6
jne 0x487ec5
mov eax, 1
sub eax, edi
add esi, eax
mov ecx, dword [esp + 0x30]
add dword [esp + 0x78], esi
add dword [esp + 0x38], ebx
cmp edx, 1
jne 0x487fa3
dec dword [0x511510]
jne 0x487ee7
call fcn.00414d40
mov ecx, dword [0x514e08]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x514e08], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov eax, edi
cdq
push edx
push eax
push 0
push ecx
call fcn.004d47d0
add esi, eax
dec dword [0x511510]
jne 0x487f3c
call fcn.00414d40
mov ecx, dword [0x514e08]
mov eax, dword [ecx]
mov edx, eax
add ecx, 4
shr edx, 0xb
xor eax, edx
mov dword [0x514e08], ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov edx, eax
and edx, 0xffffdf8c
shl edx, 0xf
xor eax, edx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov eax, dword [esp + 0x30]
cdq
push edx
push eax
push 0
push ecx
call fcn.004d47d0
add ebx, eax
jmp 0x487fe9
mov ecx, 1
sub ecx, edi
add esi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 1
sub eax, ecx
add ebx, eax
jmp 0x487ec9
cmp edx, 2
jne 0x487fbc
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add ebx, eax
jmp 0x487fe9
cmp edx, 4
jne 0x487fc7
lea ebx, [ebx + ecx - 1]
jmp 0x487fe9
cmp edx, 5
jne 0x487fd2
lea esi, [esi + edi - 1]
jmp 0x487fe9
cmp edx, 6
jne 0x487fe9
lea esi, [esi + edi - 1]
lea ebx, [ebx + ecx - 1]
jmp 0x487fe9
add dword [esp + 0x78], esi
add dword [esp + 0x38], ebx
cmp dword [esp + 0xbc], 0
je 0x488045
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa4]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x98]
call fcn.00488a30
add esp, 0x20
test eax, eax
je 0x48803a
mov ecx, dword [esp + 0xbc]
mov edi, eax
call fcn.004aa5d0
test eax, eax
jne 0x488045
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x48805e
mov eax, esi
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401590
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x4887ce
mov eax, ebx
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401590
jmp 0x4887ce
push 0x20
call fcn.004c62f8
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4880b8
mov dword [eax + 4], 1
mov dword [eax], vtable.Object.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x94], eax
jmp 0x4880bf
mov dword [esp + 0x94], ebx
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x2c], ebx
jle 0x488416
cmp dword [esp + 0x6c], 3
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + ebx*4]
je 0x4880ef
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
call fcn.00488830
cdq
idiv dword [esp + 0x18]
cmp byte [esp + 0x27], 0
je 0x488103
mov ecx, dword [ebp + 0xc]
lea edi, [edx + ecx]
jmp 0x488116
sub edx, dword [esp + 0xd0]
add edx, dword [ebp + 0xc]
sub eax, dword [esp + 0xd4]
mov edi, edx
add eax, dword [ebp + 0x10]
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x28], eax
je 0x48829c
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x488170
cmp eax, 7
je 0x488170
cmp eax, 2
je 0x48815b
cmp eax, 8
je 0x48815b
test eax, eax
je 0x48814c
cmp eax, 6
jne 0x48818e
mov esi, dword [esp + 0x20]
mov eax, 1
sub eax, esi
add edi, eax
jmp 0x488192
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov ecx, 1
sub ecx, ebx
add dword [esp + 0x28], ecx
jmp 0x488196
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov edx, 1
sub edx, esi
mov eax, 1
sub eax, ebx
add edi, edx
add dword [esp + 0x28], eax
jmp 0x488196
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0xb8]
cmp eax, 1
jne 0x488254
dec dword [0x511510]
jne 0x4881b3
call fcn.00414d40
mov ecx, dword [0x514e08]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x514e08], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov eax, esi
cdq
push edx
push eax
push 0
push ecx
call fcn.004d47d0
add edi, eax
dec dword [0x511510]
jne 0x488208
call fcn.00414d40
mov ecx, dword [0x514e08]
mov eax, dword [ecx]
mov edx, eax
add ecx, 4
shr edx, 0xb
xor eax, edx
mov dword [0x514e08], ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov edx, eax
and edx, 0xffffdf8c
shl edx, 0xf
xor eax, edx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov eax, ebx
cdq
push edx
push eax
push 0
push ecx
call fcn.004d47d0
add dword [esp + 0x28], eax
jmp 0x48829c
cmp eax, 2
jne 0x48826f
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x28], eax
jmp 0x48829c
cmp eax, 4
jne 0x488282
mov edx, dword [esp + 0x28]
lea eax, [edx + ebx - 1]
mov dword [esp + 0x28], eax
jmp 0x48829c
cmp eax, 5
je 0x488298
cmp eax, 6
jne 0x48829c
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx - 1]
mov dword [esp + 0x28], edx
lea edi, [edi + esi - 1]
cmp dword [esp + 0xbc], 0
je 0x4883c9
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x160]
mov esi, 1
lea ebx, [ebx]
mov dword [esp + eax*4 + 0x110], ecx
add eax, esi
add ecx, 0x10
cmp eax, 0x12
jl 0x4882c0
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffffffff
jle 0x488335
mov eax, edi
cdq
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], edx
mov eax, ecx
cdq
xor ebx, ebx
mov dword [esp + 0x194], edx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x160], str.xywh
mov dword [esp + 0x178], esi
mov dword [esp + 0x188], ebx
mov dword [esp + 0x180], 0x507aa8
mov dword [esp + 0x198], esi
mov dword [esp + 0x190], eax
mov edx, 4
push edx
lea eax, [esp + 0x114]
push eax
call fcn.00499d10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48803a
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe0], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x100], 6
mov dword [esp + 0xf8], ebx
test ecx, ecx
je 0x488394
mov edx, dword [edx + 0xc]
mov eax, ecx
add eax, eax
mov eax, dword [edx + eax*8 - 8]
mov edx, dword [esp + 0x94]
add eax, esi
jmp 0x488396
mov eax, esi
push 1
lea esi, [esp + 0xe4]
push esi
push eax
push ecx
mov esi, edx
call fcn.0049b230
test al, al
jne 0x4883c1
push 0x4e1a4c
push str.Out_of_memory.
mov ecx, 0x516ea8
call fcn.004768b0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov ebx, dword [esp + 0x50]
test ebx, ebx
jne 0x488405
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je 0x4883ea
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401590
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x488405
mov eax, dword [esp + 0x28]
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401590
inc ebx
mov dword [esp + 0x50], ebx
cmp ebx, dword [esp + 0x2c]
jl 0x4880cd
xor ebx, ebx
cmp dword [esp + 0xbc], ebx
je 0x4887a2
lea edx, [esp + 0x160]
mov dword [esp + 0x110], edx
lea eax, [esp + 0x170]
mov dword [esp + 0x114], eax
lea ecx, [esp + 0x180]
mov dword [esp + 0x118], ecx
lea edx, [esp + 0x190]
mov dword [esp + 0x11c], edx
lea eax, [esp + 0x1a0]
mov dword [esp + 0x120], eax
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x124], ecx
lea edx, [esp + 0x1c0]
mov dword [esp + 0x128], edx
lea eax, [esp + 0x1d0]
mov dword [esp + 0x12c], eax
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x130], ecx
lea edx, [esp + 0x1f0]
mov dword [esp + 0x134], edx
lea eax, [esp + 0x200]
mov dword [esp + 0x138], eax
lea ecx, [esp + 0x210]
lea edx, [esp + 0x220]
lea eax, [esp + 0x230]
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], eax
lea ecx, [esp + 0x240]
lea edx, [esp + 0x250]
lea eax, [esp + 0x260]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], eax
lea ecx, [esp + 0x270]
lea edx, [esp + 0x280]
lea eax, [esp + 0x290]
xor edi, edi
push 0x507d98
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], eax
mov dword [esp + 0x16c], edi
call fcn.0049fc00
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x7c]
cdq
add esp, 4
mov esi, 1
push 0x507db8
mov dword [esp + 0x17c], esi
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], edx
mov dword [esp + 0x18c], edi
call fcn.0049fc00
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x3c]
cdq
add esp, 4
push str._3__6_
mov dword [esp + 0x19c], esi
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], edx
mov dword [esp + 0x1ac], edi
call fcn.0049fc00
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x38]
cdq
add esp, 4
push str._3__6:
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1cc], edi
call fcn.0049fc00
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0xa8]
cdq
add esp, 4
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1d4], edx
cdq
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1f4], edx
cdq
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x214], edx
cdq
mov dword [esp + 0x1e8], edi
mov dword [esp + 0x208], edi
mov dword [esp + 0x228], edi
lea edi, [esp + 0x110]
mov dword [esp + 0x1e0], 0x507aac
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x200], 0x507ab0
mov dword [esp + 0x218], esi
mov dword [esp + 0x220], str.count
mov dword [esp + 0x238], esi
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], edx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], 7
mov ebx, dword [edi]
push ebx
call fcn.0044fe20
add esp, 4
cmp eax, 1
jne 0x4886e5
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0xd0]
push ecx
push edx
lea ecx, [eax + 1]
mov edx, edi
call fcn.0049b3c0
jmp 0x488769
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x94]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xe4]
push edx
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x6ec]
push ecx
push ebx
mov ecx, esi
call fcn.0049c2c0
test eax, eax
jne 0x48873c
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xcc]
mov ebx, dword [esp + 0x50]
push edx
push eax
call fcn.0049c3c0
test eax, eax
je 0x488755
mov ebx, dword [esp + 0xac]
mov edi, eax
call fcn.0049be60
mov edi, dword [esp + 0xc4]
test al, al
jne 0x48876d
push 0x4e1a4c
push str.Out_of_memory.
mov ecx, 0x516ea8
call fcn.004768b0
test eax, eax
je 0x48878b
mov eax, 1
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0
add edi, 8
dec dword [esp + 0xc8]
mov dword [esp + 0xc4], edi
jne 0x4886b6
mov edi, dword [esp + 0x94]
test edi, edi
je 0x4887c1
mov ecx, dword [esp + 0xbc]
call fcn.004aa5d0
test eax, eax
je 0x48803a
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004c57e5
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push 0x4e1a5c
mov edx, dword [0x5166e0]
push edx
call fcn.004aa2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18