Function at 0x4823d0
Capabilities:
Capture screenshot
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
mov eax, dword [ebp + 8]
mov al, byte [eax + 2]
mov ecx, dword [0x4f0b10]
push ebx
mov dl, 1
cmp dl, al
push esi
push edi
sbb edi, edi
and edi, dword [0x4f0b14]
mov dl, 7
cmp dl, al
sbb ebx, ebx
and ebx, dword [0x4f0b2c]
xor esi, esi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
cmp ecx, esi
je 0x482423
call fcn.0041a480
cmp edi, esi
je 0x48242e
mov ecx, edi
call fcn.0041a480
cmp ebx, esi
je 0x482439
mov ecx, ebx
call fcn.0041a480
mov eax, dword [0x4ec48c]
movzx edi, word [eax + 0xd0]
xor ebx, ebx
and edi, 3
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], esi
cmp edi, 2
je 0x4824d4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x90], eax
cmp eax, esi
je 0x4824d4
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4824d4
mov eax, dword [esp + 0x90]
cmp edi, esi
jne 0x482497
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4824b4
lea edx, [esp + 0xec]
push edx
push eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4824d4
add ebx, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
add dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], ebx
mov ebx, dword [ebp + 0x1c]
push 0x2e
push ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
call fcn.004bc514
mov edi, eax
add esp, 8
cmp edi, esi
je 0x48255c
inc edi
push 0x4e41f0
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x482540
push 0x4e41f4
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x482540
push 0x4e41f8
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x48255c
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call edi
push 0x32
mov dword [esp + 0xac], eax
call edi
mov dword [esp + 0xac], eax
mov eax, 3
mov dword [esp + 0xa4], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xc4], esi
mov byte [esp + 0xbb], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x4e], 0
mov byte [esp + 0x7b], 1
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0xc8], eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x80], 0x3e8
mov dword [esp + 0xb0], 0xff000000
mov byte [esp + 0x37], 0
mov byte [esp + 0x57], 1
mov byte [esp + 0x22], 0
mov byte [esp + 0x15], 0
mov esi, ebx
mov al, byte [esi]
cmp al, 0x20
je 0x4825f1
cmp al, 9
jne 0x4825f4
inc esi
jmp 0x4825e7
cmp byte [esi], 0x2a
jne 0x482daf
jmp 0x482604
mov esi, dword [esp + 0x68]
mov edi, 1
movsx edx, byte [esi + edi]
add esi, edi
push edx
call fcn.004bbc73
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x16
ja case.0x48262b.66
movzx eax, byte [eax + 0x4854d8]
jmp dword [eax*4 + 0x4854b4]
push 3
push 0x4e41fc
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
lea ecx, [esp + 0x88]
add esi, 3
push ecx
mov ecx, esi
mov byte [esp + 0x1b], 1
call fcn.0048fd70
add esp, 4
jmp 0x482d51
push 0x4e4200
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482693
add esi, 0xa
mov byte [esp + 0x22], 1
jmp 0x482d51
push 0x4e4214
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
add esi, 0xa
mov byte [esp + 0x22], 1
mov byte [esp + 0x15], 1
jmp 0x482d51
push 0x4e41b4
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4826f4
add esi, 0xa
mov byte [esp + 0x4e], 1
mov byte [esp + 0x7b], al
jmp 0x482d51
push 0x4e41c8
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x48271e
add esi, 4
mov byte [esp + 0x4e], 1
jmp 0x482d51
lea edi, [esi + 1]
mov eax, edi
call fcn.0040dd50
test al, al
je 0x482745
push 0x10
push 0
push edi
call fcn.004bbb06
add esp, 0xc
mov dword [esp + 0xac], eax
jmp 0x482d51
push edi
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0xac], eax
jmp 0x482d51
push 4
push str.Icon
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
add esi, 4
mov eax, esi
call fcn.0040dd50
test al, al
je 0x482796
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x482d51
push esi
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x40], eax
jmp 0x482d51
push 0x4e4228
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
push 0x4e4238
add esi, 6
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4827f5
mov dword [esp + 0xc8], edi
jmp 0x482d51
push 6
push str.CENTER
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482819
mov dword [esp + 0xc8], 2
jmp 0x482d51
push 2
push 0x4e4250
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828ff
push 2
push 0x4e4254
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828ff
push 2
push 0x4e4258
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828ef
push 2
push 0x4e425c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828ef
push 2
push 0x4e4260
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828df
push 2
push 0x4e4264
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828df
push 2
push 0x4e4268
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828cf
push 2
push 0x4e426c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
je 0x4828cf
mov byte [esp + 0x13], 1
jmp 0x482d51
mov dword [esp + 0xc8], 6
jmp 0x482d51
mov dword [esp + 0xc8], 5
jmp 0x482d51
mov dword [esp + 0xc8], 4
jmp 0x482d51
mov dword [esp + 0xc8], 3
jmp 0x482d51
push 0x4e4270
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
push 2
add esi, 4
push 0x4e4250
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482950
mov dword [esp + 0x74], edi
jmp 0x482d51
push 2
push 0x4e4254
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482971
mov dword [esp + 0x74], 7
jmp 0x482d51
push 2
push 0x4e426c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482992
mov dword [esp + 0x74], 5
jmp 0x482d51
push 2
push 0x4e4260
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4829b3
mov dword [esp + 0x74], 2
jmp 0x482d51
push 2
push 0x4e4264
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4829d4
mov dword [esp + 0x74], 8
jmp 0x482d51
push 2
push 0x4e4258
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x4829f1
mov dword [esp + 0x74], eax
jmp 0x482d51
push 2
push 0x4e425c
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482a12
mov dword [esp + 0x74], 6
jmp 0x482d51
push 2
push 0x4e4268
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482c42
mov dword [esp + 0x74], 3
jmp 0x482d51
push 0x4e4280
call fcn.0049be50
add esp, 4
push 8
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482a5d
add esi, 8
lea ebx, [esp + 0x24]
jmp 0x482a84
push 0x4e4180
call fcn.0049be50
add esp, 4
push 5
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482a9d
add esi, 5
lea ebx, [esp + 0x84]
mov ecx, esi
call fcn.0048fdd0
test al, al
jne 0x482d51
mov byte [esp + 0x13], 1
jmp 0x482d51
push 0x4e4294
call fcn.0049be50
add esp, 4
push 6
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482d51
push 0x4e41b4
add esi, 6
mov byte [esp + 0x3b], 1
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482aee
add esi, 0xa
mov bl, 1
mov byte [esp + 0x57], al
jmp 0x482b41
push 0x4e41c8
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482b16
mov bl, 1
add esi, 4
mov byte [esp + 0x57], bl
jmp 0x482b41
push 0x4dc2bc
call fcn.0049be50
add esp, 4
push 4
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482c42
add esi, 4
xor bl, bl
mov byte [esp + 0x57], 1
cmp byte [esp + 0x13], 0
mov dword [esp + 0x68], esi
jne 0x482d51
cmp dword [esp + 0xc4], 0
jne 0x482d51
push 0x207
lea edx, [esp + 0x18c]
push esi
push edx
call fcn.004bd1c0
add esp, 0xc
mov edi, 0x4d9558
lea eax, [esp + 0x188]
mov byte [esp + 0x38f], 0
call fcn.004099e0
test eax, eax
je 0x482b94
mov byte [eax], 0
test bl, bl
je 0x482bb0
lea esi, [esp + 0x188]
call fcn.0041a410
mov dword [esp + 0xc4], eax
jmp 0x482c36
push 0x207
lea eax, [esp + 0x18c]
push esi
push eax
call fcn.004bd1c0
add esp, 0xc
cmp byte [esp + 0x188], 0x3c
mov byte [esp + 0x38f], 0
jne 0x482c42
mov edi, 0x4e41d8
lea eax, [esp + 0x189]
call fcn.004099e0
test eax, eax
je 0x482c42
push 0
mov byte [eax], 0
lea ecx, [esp + 0x18c]
sub eax, ecx
push 0
lea edx, [esi + eax + 1]
push 0
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x19d]
push 0
push ecx
mov dword [esp + 0x84], edx
call fcn.004a43b0
add esp, 0x1c
cmp dword [esp + 0x3c], 1
mov dword [esp + 0xc4], eax
jne 0x482c36
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x68]
test eax, eax
jne 0x482d51
mov byte [esp + 0x13], 1
jmp 0x482d51
mov edx, dword [0x4f3de4]
push 2
push edx
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x482c91
add esi, 2
cmp dword [ebp + 0x14], eax
jle 0x482c70
mov eax, dword [ebp + 0xc]
dec eax
jmp 0x482c72
xor eax, eax
add dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0
jle 0x482c87
mov eax, dword [ebp + 0x10]
dec eax
add dword [ebp + 0x18], eax
jmp 0x482d51
xor eax, eax
add dword [ebp + 0x18], eax
jmp 0x482d51
lea edi, [esi + 1]
mov eax, edi
call fcn.0040dd50
test al, al
je 0x482cb8
push 0x10
push 0
push edi
call fcn.004bbb06
add esp, 0xc
mov dword [esp + 0xa8], eax
jmp 0x482d51
push edi
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0xa8], eax
jmp 0x482d51
mov eax, esi
nop
mov cl, byte [eax]
cmp cl, 0x20
je 0x482cdc
cmp cl, 9
jne 0x482ce0
add eax, edi
jmp 0x482cd0
mov cl, byte [eax]
test cl, cl
je 0x482d27
cmp cl, 0x2d
je 0x482cf0
cmp cl, 0x2b
jne 0x482cf1
inc eax
cmp byte [eax], 0x30
jne 0x482d27
mov cl, byte [eax + 1]
cmp cl, 0x78
je 0x482d03
cmp cl, 0x58
jne 0x482d27
movsx eax, byte [eax + 2]
push eax
call fcn.004bb8ab
add esp, 4
test eax, eax
je 0x482d27
push 0x10
push 0
push esi
call fcn.004bbb06
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x482d34
push esi
call fcn.004bb6b6
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jns 0x482d42
mov dword [esp + 0x6c], 0
jmp 0x482d51
cmp eax, 0xff
jle 0x482d51
mov dword [esp + 0x6c], 0xff
test esi, esi
je 0x482eb8
mov dl, byte [esi]
test dl, dl
je 0x482eb8
mov ecx, 0x4d9558
mov al, 0x20
lea ebx, [ebx]
cmp dl, al
je 0x482d89
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x482d70
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x482d63
jmp 0x482eb8
lea eax, [esi + 1]
mov dword [ebp + 0x1c], eax
nop
mov cl, byte [eax]
cmp cl, 0x20
je 0x482d9c
cmp cl, 9
jne 0x482d9f
inc eax
jmp 0x482d90
cmp byte [eax], 0x2a
mov dword [esp + 0x68], eax
je 0x482600
mov ebx, dword [ebp + 0x1c]
cmp byte [esp + 0x37], 0
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0xbc], 0
jne 0x482ddf
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], ecx
add esi, eax
add edi, ecx
mov eax, dword [esp + 0x84]
cmp eax, 0xffffffff
jne 0x482df1
mov dword [esp + 0x24], eax
jmp 0x482df8
mov dword [esp + 0xb0], eax
cmp byte [esp + 0x4e], 0
je 0x482e24
mov eax, ebx
call fcn.0040dd50
test al, al
je 0x482e19
push 0x10
push 0
push ebx
call fcn.004bc27b
add esp, 0xc
jmp 0x482e4e
push ebx
call fcn.004bb6c1
add esp, 4
jmp 0x482e4e
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xac]
push 0
push 0
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0xc8]
push edx
push eax
push ecx
push ebx
call fcn.004a43b0
add esp, 0x1c
mov dword [esp + 0xa4], eax
test eax, eax
je 0x482eb8
cmp byte [esp + 0x13], 0
jne 0x482eb8
cmp byte [esp + 0x37], 0
push 0
je 0x482e7a
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0x104], ebx
jmp 0x482e89
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov dword [esp + 0x104], eax
xor eax, eax
cmp ebx, eax
jne 0x482f3c
cmp byte [esp + 0x4e], al
je 0x482e9f
cmp byte [esp + 0x7b], al
je 0x482eb8
mov edx, dword [esp + 0xa4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0xa4], 0
cmp byte [esp + 0x57], 0
je 0x482ed1
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x482ed1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x482ef1
cmp byte [esp + 0x4e], 0
je 0x482eea
cmp byte [esp + 0x7b], 0
je 0x482ef1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4ec48c]
test byte [eax + 0xe0], 1
jne 0x482f1f
mov ecx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9598
push ecx
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 8]
push 0x4d6959
push 0
push 0x4d9598
call fcn.0042d070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esp + 0xbc], 1
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x100], eax
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xa4]
jne 0x482fe7
lea edx, [esp + 0x174]
push edx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x482fc8
push 1
lea ecx, [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x188]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
mov eax, ebx
call fcn.00437d50
mov edx, dword [esp + 0x198]
add esp, 0x14
push edx
mov dword [esp + 0x6c], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x180]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004a4da0
add esp, 4
mov dword [esp + 0xa4], eax
test eax, eax
je 0x484807
push 8
lea edx, [esp + 0x1a]
push edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov eax, ebx
call fcn.00437d50
add esp, 0x14
mov dword [esp + 0x64], eax
test eax, eax
je 0x484807
cmp byte [esp + 0x37], 0
jne 0x4830bd
sub esi, dword [ebp + 0xc]
sub edi, dword [ebp + 0x10]
inc esi
push ebx
mov dword [esp + 0x44], esi
inc edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0xa8], esi
test esi, esi
je 0x484807
mov eax, dword [esp + 0x40]
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xac], eax
test eax, eax
je 0x484807
mov ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x100], eax
test eax, eax
je 0x484807
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
push 0xcc0020
push edx
push eax
push ebx
push edi
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x484807
push 8
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xb4]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov eax, esi
jmp 0x4831bd
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0xa8], eax
test eax, eax
je 0x484807
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp + 0x10]
jne 0x483127
test ebx, ebx
jne 0x483127
test esi, esi
jne 0x483127
test edi, edi
jne 0x483127
push 8
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0xbc]
call fcn.00437d50
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x484807
jmp 0x4831d3
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x390]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x484807
test esi, esi
jne 0x483163
test edi, edi
jne 0x483163
mov eax, dword [esp + 0x394]
mov ecx, dword [esp + 0x398]
dec eax
dec ecx
mov edi, ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0xc4]
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 edx
lea eax, [esp + 0xd4]
push eax
call fcn.00492c30
add esp, 0x2c
test al, al
je 0x484807
push 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0xb8]
push ecx
call fcn.00437d50
add esp, 0x14
mov dword [esp + 0x44], eax
test eax, eax
je 0x484807
mov ebx, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul ecx, dword [esp + 0x30]
imul edx, dword [esp + 0x8c]
cmp byte [esp + 0x16], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x98], edx
jne 0x483201
cmp byte [esp + 0x14], 0
je 0x483254
cmp dword [esp + 0x24], 0xffffffff
je 0x483210
and dword [esp + 0x24], 0xf8f8f8
cmp dword [esp + 0x84], 0xffffffff
je 0x483225
and dword [esp + 0x84], 0xf8f8f8
xor eax, eax
test edx, edx
jle 0x48323c
jmp 0x483230
and dword [ebx + eax*4], 0xf8f8f8
inc eax
cmp eax, edx
jl 0x483230
mov edi, dword [esp + 0x64]
xor esi, esi
test ecx, ecx
jle 0x48325c
and dword [edi + esi*4], 0xf8f8f8
inc esi
cmp esi, ecx
jl 0x483246
jmp 0x48325c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
cmp byte [esp + 0x22], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x23], 0
je 0x483477
xor esi, esi
mov byte [esp + 0x14], 1
test edx, edx
jle 0x4832ea
lea esp, [esp]
mov eax, dword [ebx + esi*4]
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 + 0x15], 0
je 0x4832cd
mov ecx, 0xff
sub ecx, dword [esp + 0x6c]
cmp eax, ecx
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [ebx + esi*4], edx
jmp 0x4832dc
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [ebx + esi*4], ecx
inc esi
cmp esi, dword [esp + 0x98]
jl 0x483280
mov ecx, dword [esp + 0x70]
xor esi, esi
cmp dword [esp + 0x84], 0xffffffff
mov byte [esp + 0x23], 1
je 0x4833ad
test ecx, ecx
jle 0x483416
jmp 0x483310
mov eax, dword [edi + esi*4]
and eax, 0xffffff
cmp eax, dword [esp + 0x84]
jne 0x483326
mov dword [edi + esi*4], eax
jmp 0x4833a0
cmp byte [esp + 0x15], 0
mov edx, eax
je 0x48336e
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, dword [esp + 0x6c]
cmp ecx, edx
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [edi + esi*4], eax
jmp 0x4833a0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
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
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [edi + esi*4], ecx
inc esi
cmp esi, dword [esp + 0x70]
jl 0x483310
jmp 0x483416
test ecx, ecx
jle 0x483416
mov ebx, dword [esp + 0x70]
mov eax, dword [edi + esi*4]
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 + 0x15], 0
je 0x483402
mov ecx, 0xff
sub ecx, dword [esp + 0x6c]
cmp eax, ecx
sbb edx, edx
and edx, 0xff000001
add edx, 0xffffff
mov dword [edi + esi*4], edx
jmp 0x483411
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [edi + esi*4], ecx
inc esi
cmp esi, ebx
jl 0x4833b5
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
cmp eax, 0xffffffff
je 0x483468
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 + 0x15], 0
je 0x4834b2
mov ecx, 0xff
sub ecx, ebx
cmp eax, ecx
sbb eax, eax
and eax, 0xff000001
add eax, 0xffffff
mov dword [esp + 0x24], eax
cmp byte [esp + 0x15], 0
je 0x48347b
mov dword [esp + 0x6c], 0
mov ebx, dword [esp + 0x6c]
cmp dword [esp + 0x74], 3
jne 0x4834c4
cmp byte [esp + 0x23], 0
jne 0x483676
mov ecx, dword [esp + 0x70]
xor esi, esi
test ecx, ecx
jle 0x483676
mov eax, dword [esp + 0x64]
add eax, 3
mov esi, ecx
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4834a4
jmp 0x483676
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x48347b
mov edx, dword [esp + 0x70]
lea eax, [edx*4]
push eax
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0xb4], eax
test eax, eax
je 0x48480b
mov edi, dword [esp + 0x98]
lea ecx, [edi*4]
push ecx
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0x90], eax
test eax, eax
je 0x48480b
cmp byte [esp + 0x23], 0
mov edx, dword [esp + 0x70]
jne 0x483543
test edx, edx
jle 0x48355f
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x64]
sub ecx, eax
lea esp, [esp]
mov esi, dword [ecx + eax]
and esi, 0xffffff
mov dword [eax], esi
add eax, 4
dec edx
jne 0x483530
jmp 0x48355f
test edx, edx
jle 0x48355f
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov esi, dword [eax + ecx]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x483554
xor esi, esi
cmp byte [esp + 0x14], 0
jne 0x483593
test edi, edi
jle 0x4835b3
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov edx, edi
mov esi, edi
lea ecx, [ecx]
mov edi, dword [ecx + eax]
and edi, 0xffffff
mov dword [eax], edi
add eax, 4
dec edx
jne 0x483580
jmp 0x4835b3
test edi, edi
jle 0x4835b3
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov edx, edi
mov esi, edi
mov edi, dword [eax + ecx]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x4835a8
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x110], edx
lea edx, [esp + 0x108]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x74]
push edx
lea eax, [esp + 0xf0]
mov byte [esp + 0x18], 1
mov dword [esp + 0xfc], edi
call fcn.004858f0
add esp, 4
cmp dword [esp + 0x74], 4
jle 0x483676
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xcc]
mov edi, dword [esp + 0x98]
neg edx
sbb dl, dl
and dl, byte [esp + 0x17]
mov byte [esp + 0x17], dl
je 0x4836c8
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4836a5
inc eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
lea ecx, [eax*4]
push ecx
call fcn.004ba2ed
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
je 0x48480b
mov ecx, dword [esp + 0x24]
xor edx, edx
cmp ecx, 0xffffffff
je 0x48429e
cmp ebx, 1
jge 0x483b32
cmp byte [esp + 0x14], dl
jne 0x4836fc
cmp edi, edx
jle 0x4836fc
mov eax, dword [esp + 0x44]
add eax, 3
mov ecx, edi
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4836f3
mov dword [esp + 0x18], edx
cmp dword [esp + 0x68], edx
je 0x48393c
cmp edi, edx
jle 0x4847d1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
add ecx, ecx
add ecx, ecx
mov edx, dword [ecx + edx]
cmp edx, eax
je 0x48374b
mov esi, dword [esp + 0x68]
cmp dword [esi], 0
jne 0x48374b
cmp eax, dword [esp + 0x84]
jne 0x48391a
cmp edx, dword [esp + 0x24]
je 0x48391a
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x8c]
sub edx, eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], edx
jg 0x48391a
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x5c]
cmp dword [esp + 0x2c], eax
jg 0x48391a
mov esi, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], eax
mov edi, esi
cmp dword [esp + 0x70], eax
jle 0x483839
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
sub ebx, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0xbc], ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + edi*4]
mov ecx, dword [eax]
cmp edx, ecx
je 0x4837f1
cmp dword [ebx + eax], 0
jne 0x4837f1
cmp ecx, dword [esp + 0x84]
jne 0x483935
cmp edx, dword [esp + 0x24]
je 0x483935
mov ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0xa0]
inc ecx
mov dword [esp + 0xa0], ecx
cmp ecx, dword [esp + 0x2c]
jge 0x483809
inc edi
jmp 0x483827
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
add dword [esp + 0x40], ecx
add esi, edx
mov dword [esp + 0xa0], 0
mov edi, esi
mov ecx, dword [esp + 0x7c]
inc ecx
add eax, 4
mov dword [esp + 0x7c], ecx
cmp ecx, dword [esp + 0x70]
jl 0x4837c0
cmp byte [esp + 0x17], 0
je 0x4847ff
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x80]
cmp ebx, eax
jne 0x4838a4
lea edx, [eax*4 + 0xfa0]
push edx
call fcn.004ba2ed
mov esi, eax
add esp, 4
test esi, esi
je 0x484807
mov edi, dword [esp + 0x50]
lea eax, [ebx*4]
push eax
push edi
push esi
call fcn.004c3030
add esp, 0xc
push edi
call fcn.004ba14c
mov ecx, dword [esp + 0x84]
add esp, 4
add ecx, 0x3e8
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add esi, dword [esp + 0x5c]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x30]
inc ebx
lea eax, [ecx + edx]
mov dword [esp + 0x38], ebx
cmp ecx, eax
jge 0x483905
mov edi, dword [esp + 0x44]
mov edx, ecx
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x5c]
sub eax, ecx
lea edx, [edi + edx*4]
mov ebx, eax
cmp dword [esp + 0x5c], esi
jge 0x4838f8
mov eax, dword [esp + 0xb0]
mov ecx, esi
sub ecx, dword [esp + 0x5c]
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add edx, eax
dec ebx
jne 0x4838e1
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x48391a
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x483712
jmp 0x4847d1
mov byte [esp + 0x13], 0
jmp 0x48391a
cmp edi, edx
jle 0x4847d1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add ecx, ecx
add ecx, ecx
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
cmp edx, eax
je 0x483974
cmp eax, dword [esp + 0x84]
jne 0x483b10
cmp edx, dword [esp + 0x24]
je 0x483b10
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov esi, edx
mov edx, dword [esp + 0x8c]
mov ebx, eax
sub edx, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x30], edx
jg 0x483b10
mov eax, dword [esp + 0x1c]
sub eax, esi
cmp dword [esp + 0x2c], eax
jg 0x483b10
mov edx, dword [esp + 0x18]
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x7c], edi
cmp dword [esp + 0x70], edi
jle 0x483a2f
mov byte [esp + 0x13], 1
mov esi, edx
mov dword [esp + 0x40], ecx
mov ebx, edi
mov edi, edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + ebx*4]
cmp ecx, eax
je 0x4839fd
cmp eax, dword [esp + 0x84]
jne 0x483b2b
cmp ecx, dword [esp + 0x24]
je 0x483b2b
mov ebx, dword [esp + 0x7c]
inc edi
cmp edi, dword [esp + 0x2c]
jge 0x483a07
inc edx
jmp 0x483a1c
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
add dword [esp + 0x40], ecx
xor edi, edi
add esi, eax
mov edx, esi
inc ebx
mov dword [esp + 0x7c], ebx
cmp ebx, dword [esp + 0x70]
jl 0x4839d0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
cmp byte [esp + 0x17], 0
je 0x4847ff
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x38], eax
jne 0x483a9f
lea ecx, [eax*4 + 0xfa0]
push ecx
call fcn.004ba2ed
mov edi, eax
add esp, 4
test edi, edi
je 0x484807
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
lea eax, [edx*4]
push eax
push ecx
push edi
call fcn.004c3030
mov edx, dword [esp + 0x5c]
add esp, 0xc
push edx
call fcn.004ba14c
mov eax, dword [esp + 0x84]
add esp, 4
add eax, 0x3e8
mov dword [esp + 0x50], edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, ebx
cmp ebx, eax
jge 0x483afb
mov edx, dword [esp + 0x44]
mov ecx, ebx
imul ecx, dword [esp + 0x1c]
add ecx, esi
sub eax, ebx
lea edx, [edx + ecx*4]
mov ebx, eax
mov eax, dword [esp + 0x2c]
add eax, esi
cmp esi, eax
jge 0x483aee
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xb0]
add ecx, esi
sub ecx, esi
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add edx, eax
dec ebx
jne 0x483ad1
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x483b10
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x483944
jmp 0x4847d1
mov byte [esp + 0x13], 0
jmp 0x483b10
mov eax, ecx
shr eax, 0x10
movzx esi, al
mov edx, ecx
shr edx, 8
mov byte [esp + 0x16], al
cmp ebx, esi
jle 0x483b51
mov byte [esp + 0x97], 0
jmp 0x483b5a
sub al, bl
mov byte [esp + 0x97], al
movzx eax, dl
mov dword [esp + 0x3c], eax
cmp ebx, eax
jle 0x483b6c
mov byte [esp + 0x4b], 0
jmp 0x483b74
mov al, dl
sub al, bl
mov byte [esp + 0x4b], al
movzx edi, cl
cmp ebx, edi
jle 0x483b82
mov byte [esp + 0x4d], 0
jmp 0x483b8a
mov al, cl
sub al, bl
mov byte [esp + 0x4d], al
mov eax, 0xff
sub eax, esi
cmp ebx, eax
jle 0x483b9f
mov byte [esp + 0x9f], 0xff
jmp 0x483bac
mov al, bl
add al, byte [esp + 0x16]
mov byte [esp + 0x9f], al
mov eax, 0xff
sub eax, dword [esp + 0x3c]
cmp ebx, eax
jle 0x483bc0
mov byte [esp + 0x4f], 0xff
jmp 0x483bc7
lea eax, [edx + ebx]
mov byte [esp + 0x4f], al
mov edx, 0xff
sub edx, edi
cmp ebx, edx
jle 0x483bd9
mov byte [esp + 0x4c], 0xff
jmp 0x483be0
lea eax, [ecx + ebx]
mov byte [esp + 0x4c], al
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x68], eax
je 0x483f4d
cmp dword [esp + 0x98], eax
jle 0x4847d1
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
sub ecx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], ecx
jg 0x483f32
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x5c]
cmp dword [esp + 0x2c], edx
jg 0x483f32
mov edi, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0xa0], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x24], edi
cmp dword [esp + 0x70], eax
jle 0x483e3f
mov ecx, dword [esp + 0x64]
mov eax, edi
mov dword [esp + 0x3c], eax
add eax, eax
add eax, eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x68]
mov esi, ecx
sub eax, ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x44]
mov dl, byte [ecx + edi*4 + 2]
mov al, byte [ecx + edi*4 + 1]
mov cl, byte [ecx + edi*4]
mov byte [esp + 0x21], dl
mov edx, dword [esp + 0x84]
mov byte [esp + 0x2b], al
mov byte [esp + 0x16], cl
cmp dword [esi], edx
jne 0x483cf4
mov dl, byte [esp + 0x21]
cmp dl, byte [esp + 0x97]
jb 0x483dd3
cmp dl, byte [esp + 0x9f]
ja 0x483dd3
cmp al, byte [esp + 0x4b]
jb 0x483dd3
cmp al, byte [esp + 0x4f]
ja 0x483dd3
cmp cl, byte [esp + 0x4d]
jb 0x483dd3
cmp cl, byte [esp + 0x4c]
ja 0x483dd3
mov ebx, dword [esp + 0x6c]
mov al, byte [esi + 2]
mov cl, byte [esi]
mov dl, byte [esi + 1]
movzx esi, al
mov byte [esp + 0x15], cl
cmp ebx, esi
jle 0x483d0e
mov byte [esp + 0x63], 0
jmp 0x483d16
mov cl, al
sub cl, bl
mov byte [esp + 0x63], cl
movzx ecx, dl
cmp ebx, ecx
jle 0x483d24
mov byte [esp + 0x22], 0
jmp 0x483d2c
mov cl, dl
sub cl, bl
mov byte [esp + 0x22], cl
movzx edi, byte [esp + 0x15]
cmp ebx, edi
jle 0x483d3c
mov byte [esp + 0x14], 0
jmp 0x483d46
mov cl, byte [esp + 0x15]
sub cl, bl
mov byte [esp + 0x14], cl
mov ecx, 0xff
sub ecx, esi
cmp ebx, ecx
jle 0x483d58
mov byte [esp + 0x23], 0xff
jmp 0x483d5f
lea ecx, [eax + ebx]
mov byte [esp + 0x23], cl
movzx eax, dl
mov ecx, 0xff
sub ecx, eax
cmp ebx, ecx
jle 0x483d72
or cl, 0xff
jmp 0x483d75
lea ecx, [edx + ebx]
mov edx, 0xff
sub edx, edi
cmp ebx, edx
jle 0x483d84
or al, 0xff
jmp 0x483d8a
mov al, bl
add al, byte [esp + 0x15]
mov dl, byte [esp + 0x63]
cmp byte [esp + 0x21], dl
jb 0x483dba
mov dl, byte [esp + 0x21]
cmp dl, byte [esp + 0x23]
ja 0x483dba
mov dl, byte [esp + 0x2b]
cmp dl, byte [esp + 0x22]
jb 0x483dba
cmp dl, cl
ja 0x483dba
mov cl, byte [esp + 0x16]
cmp cl, byte [esp + 0x14]
jb 0x483dba
cmp cl, al
jbe 0x483dcb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xbc]
cmp dword [eax + ecx], 0
je 0x483e35
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0xa0]
inc eax
mov dword [esp + 0xa0], eax
cmp eax, dword [esp + 0x2c]
jge 0x483deb
inc edi
jmp 0x483e12
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
lea ecx, [eax*4]
add dword [esp + 0xc0], ecx
add edi, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x7c]
inc eax
add esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], esi
cmp eax, dword [esp + 0x70]
jge 0x483e3f
mov ebx, dword [esp + 0x6c]
jmp 0x483c84
mov byte [esp + 0x13], 0
jmp 0x483f2e
cmp byte [esp + 0x17], 0
je 0x4847ff
mov ebx, dword [esp + 0x80]
cmp dword [esp + 0x38], ebx
jne 0x483ea5
lea edx, [ebx*4 + 0xfa0]
push edx
call fcn.004ba2ed
mov esi, eax
add esp, 4
test esi, esi
je 0x484807
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
lea ecx, [eax*4]
push ecx
push edi
push esi
call fcn.004c3030
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
add ebx, 0x3e8
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [edx + eax*4], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x38], eax
lea eax, [edi + edx]
lea esi, [ebx + ecx]
cmp edi, eax
jge 0x483f19
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4]
mov dword [esp + 0x40], edx
mov edx, edi
imul edx, ecx
mov ecx, dword [esp + 0x44]
add edx, ebx
sub eax, edi
lea edx, [ecx + edx*4]
mov dword [esp + 0x3c], eax
cmp ebx, esi
jge 0x483f0f
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x5c]
mov ecx, esi
sub ecx, dword [esp + 0x5c]
mov edi, edx
rep stosd dword es:[edi], eax
add edx, dword [esp + 0x40]
dec dword [esp + 0x3c]
jne 0x483ef6
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x483f2e
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x483bfd
jmp 0x4847d1
cmp dword [esp + 0x98], eax
jle 0x4847d1
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov ebx, edx
mov edx, dword [esp + 0x8c]
mov ecx, eax
sub edx, ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x30], edx
jg 0x48427c
mov eax, dword [esp + 0x1c]
sub eax, ebx
cmp dword [esp + 0x2c], eax
jg 0x48427c
mov esi, dword [esp + 0x18]
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0xa0], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x70], edi
jle 0x48419b
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0xc0], eax
add eax, eax
lea edx, [ecx*4]
add eax, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
mov dl, byte [ecx + esi*4 + 2]
mov al, byte [ecx + esi*4 + 1]
mov ebx, dword [esp + 0x64]
mov cl, byte [ecx + esi*4]
mov byte [esp + 0x21], dl
mov edx, dword [esp + 0x84]
mov byte [esp + 0x2b], al
mov byte [esp + 0x16], cl
cmp dword [ebx + edi*4], edx
jne 0x484052
mov dl, byte [esp + 0x21]
cmp dl, byte [esp + 0x97]
jb 0x484143
cmp dl, byte [esp + 0x9f]
ja 0x484143
cmp al, byte [esp + 0x4b]
jb 0x484143
cmp al, byte [esp + 0x4f]
ja 0x484143
cmp cl, byte [esp + 0x4d]
jb 0x484143
cmp cl, byte [esp + 0x4c]
ja 0x484143
mov esi, dword [esp + 0x64]
mov al, byte [esi + edi*4 + 2]
mov cl, byte [esi + edi*4]
mov bl, byte [esi + edi*4 + 1]
mov edx, dword [esp + 0x6c]
movzx esi, al
mov byte [esp + 0x15], cl
cmp edx, esi
jle 0x484077
mov byte [esp + 0x63], 0
jmp 0x48407f
mov cl, al
sub cl, dl
mov byte [esp + 0x63], cl
movzx ecx, bl
cmp edx, ecx
jle 0x48408d
mov byte [esp + 0x22], 0
jmp 0x484095
mov cl, bl
sub cl, dl
mov byte [esp + 0x22], cl
movzx edi, byte [esp + 0x15]
cmp edx, edi
jle 0x4840a5
mov byte [esp + 0x14], 0
jmp 0x4840af
mov cl, byte [esp + 0x15]
sub cl, dl
mov byte [esp + 0x14], cl
mov ecx, 0xff
sub ecx, esi
cmp edx, ecx
jle 0x4840c1
mov byte [esp + 0x23], 0xff
jmp 0x4840c8
lea ecx, [eax + edx]
mov byte [esp + 0x23], cl
movzx eax, bl
mov ecx, 0xff
sub ecx, eax
cmp edx, ecx
jle 0x4840db
or cl, 0xff
jmp 0x4840de
lea ecx, [ebx + edx]
mov eax, 0xff
sub eax, edi
cmp edx, eax
jle 0x4840ed
or al, 0xff
jmp 0x4840f3
mov al, dl
add al, byte [esp + 0x15]
mov dl, byte [esp + 0x63]
cmp byte [esp + 0x21], dl
jb 0x484297
mov dl, byte [esp + 0x21]
cmp dl, byte [esp + 0x23]
ja 0x484297
mov dl, byte [esp + 0x2b]
cmp dl, byte [esp + 0x22]
jb 0x484297
cmp dl, cl
ja 0x484297
mov cl, byte [esp + 0x16]
cmp cl, byte [esp + 0x14]
jb 0x484297
cmp cl, al
ja 0x484297
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x5c]
inc eax
mov dword [esp + 0xa0], eax
cmp eax, dword [esp + 0x2c]
jge 0x48415f
inc esi
jmp 0x484184
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xc0]
add dword [esp + 0x3c], eax
add esi, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xc0], esi
inc edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x7c], edi
cmp edi, dword [esp + 0x70]
jl 0x483fe1
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x17], 0
je 0x4847ff
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x38]
cmp edi, eax
jne 0x484209
lea ecx, [eax*4 + 0xfa0]
push ecx
call fcn.004ba2ed
mov esi, eax
add esp, 4
test esi, esi
je 0x484807
lea edx, [edi*4]
mov edi, dword [esp + 0x50]
push edx
push edi
push esi
call fcn.004c3030
add esp, 0xc
push edi
call fcn.004ba14c
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x5c]
add esp, 4
add eax, 0x3e8
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
mov dword [esi + eax*4], edx
mov edx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, ecx
lea esi, [ebx + edx]
cmp ecx, eax
jge 0x484267
imul ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add ecx, ebx
sub eax, dword [esp + 0x58]
lea edx, [edx + ecx*4]
mov dword [esp + 0x3c], eax
cmp ebx, esi
jge 0x484257
mov eax, dword [esp + 0xb0]
mov ecx, esi
sub ecx, ebx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add edx, eax
dec dword [esp + 0x3c]
jne 0x484244
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x48427c
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x483f60
jmp 0x4847d1
mov byte [esp + 0x13], 0
jmp 0x48427c
cmp ebx, 1
jge 0x4844dd
cmp byte [esp + 0x14], 0
jne 0x4842c9
cmp edi, edx
jle 0x4842c9
mov eax, dword [esp + 0x44]
add eax, 3
mov ecx, edi
jmp 0x4842c0
mov byte [eax], 0
add eax, 4
dec ecx
jne 0x4842c0
mov dword [esp + 0x18], edx
cmp edi, edx
jle 0x4847d1
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
add edi, edi
add edi, edi
cmp dword [edi + ecx], eax
je 0x484306
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4842f9
cmp dword [ecx], 0
jne 0x484306
cmp eax, dword [esp + 0x84]
jne 0x4844bb
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x8c]
sub edx, eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], edx
jg 0x4844bb
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x5c]
cmp dword [esp + 0x2c], eax
jg 0x4844bb
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x13], 1
mov dword [esp + 0x7c], ebx
mov esi, ecx
cmp dword [esp + 0x70], ebx
jle 0x4843cd
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub edx, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0xbc], edx
lea ecx, [ecx]
mov edx, dword [eax]
mov edi, dword [esp + 0x44]
cmp dword [edi + esi*4], edx
je 0x48439c
cmp dword [esp + 0x68], 0
je 0x48438f
mov edi, dword [esp + 0xbc]
cmp dword [edi + eax], 0
jne 0x48439c
cmp edx, dword [esp + 0x84]
jne 0x4844d6
inc ebx
cmp ebx, dword [esp + 0x2c]
jge 0x4843a6
inc esi
jmp 0x4843bb
mov edx, dword [esp + 0x1c]
lea esi, [edx*4]
add dword [esp + 0x3c], esi
xor ebx, ebx
add ecx, edx
mov esi, ecx
mov edx, dword [esp + 0x7c]
inc edx
add eax, 4
mov dword [esp + 0x7c], edx
cmp edx, dword [esp + 0x70]
jl 0x484370
cmp byte [esp + 0x17], 0
je 0x4847ff
mov ebx, dword [esp + 0x80]
cmp dword [esp + 0x38], ebx
jne 0x484433
lea ecx, [ebx*4 + 0xfa0]
push ecx
call fcn.004ba2ed
mov esi, eax
add esp, 4
test esi, esi
je 0x484807
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
lea eax, [edx*4]
push eax
push edi
push esi
call fcn.004c3030
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
add ebx, 0x3e8
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, edi
lea esi, [ebx + ecx]
cmp edi, eax
jge 0x4844a6
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4]
mov dword [esp + 0x40], edx
mov edx, edi
imul edx, ecx
mov ecx, dword [esp + 0x44]
add edx, ebx
sub eax, edi
lea edx, [ecx + edx*4]
mov dword [esp + 0x3c], eax
cmp ebx, esi
jge 0x48449c
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x5c]
mov ecx, esi
sub ecx, dword [esp + 0x5c]
mov edi, edx
rep stosd dword es:[edi], eax
add edx, dword [esp + 0x40]
dec dword [esp + 0x3c]
jne 0x484483
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x4844bb
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x4842d5
jmp 0x4847d1
mov byte [esp + 0x13], 0
jmp 0x4844bb
mov dword [esp + 0x18], edx
cmp edi, edx
jle 0x4847d1
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
sub ecx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], ecx
jg 0x4847bb
mov eax, dword [esp + 0x1c]
sub eax, edx
cmp dword [esp + 0x2c], eax
jg 0x4847bb
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov ebx, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x70], ecx
jle 0x4846dc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc0], eax
add eax, eax
add eax, eax
add edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
add edx, edx
sub eax, ecx
mov byte [esp + 0x13], 1
mov edi, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0xbc], eax
mov al, byte [edi + 2]
mov edx, dword [esp + 0x6c]
movzx esi, al
cmp edx, esi
jle 0x48458b
mov byte [esp + 0x16], 0
jmp 0x484593
mov cl, al
sub cl, dl
mov byte [esp + 0x16], cl
movzx ecx, byte [edi + 1]
mov dword [esp + 0xe8], ecx
cmp edx, ecx
jle 0x4845a9
mov byte [esp + 0x4c], 0
jmp 0x4845b2
mov cl, byte [edi + 1]
sub cl, dl
mov byte [esp + 0x4c], cl
movzx ecx, byte [edi]
mov dword [esp + 0xec], ecx
cmp edx, ecx
jle 0x4845c7
mov byte [esp + 0x4f], 0
jmp 0x4845cf
mov cl, byte [edi]
sub cl, dl
mov byte [esp + 0x4f], cl
mov ecx, 0xff
sub ecx, esi
cmp edx, ecx
jle 0x4845e1
mov byte [esp + 0x2b], 0xff
jmp 0x4845e8
lea ecx, [eax + edx]
mov byte [esp + 0x2b], cl
mov eax, 0xff
sub eax, dword [esp + 0xe8]
cmp edx, eax
jle 0x4845ff
mov byte [esp + 0x4d], 0xff
jmp 0x484608
mov al, dl
add al, byte [edi + 1]
mov byte [esp + 0x4d], al
mov ecx, 0xff
sub ecx, dword [esp + 0xec]
cmp edx, ecx
jle 0x48461f
mov byte [esp + 0x4b], 0xff
jmp 0x484627
mov al, dl
add al, byte [edi]
mov byte [esp + 0x4b], al
mov edx, dword [esp + 0x44]
mov esi, dword [edi]
mov al, byte [edx + ebx*4 + 2]
mov cl, byte [edx + ebx*4 + 1]
mov dl, byte [edx + ebx*4]
cmp esi, dword [esp + 0x84]
je 0x484685
cmp al, byte [esp + 0x16]
jb 0x484665
cmp al, byte [esp + 0x2b]
ja 0x484665
cmp cl, byte [esp + 0x4c]
jb 0x484665
cmp cl, byte [esp + 0x4d]
ja 0x484665
cmp dl, byte [esp + 0x4f]
jb 0x484665
cmp dl, byte [esp + 0x4b]
jbe 0x484681
cmp dword [esp + 0x68], 0
je 0x48489c
mov edx, dword [esp + 0xbc]
cmp dword [edx + edi], 0
je 0x48489c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0xa0]
inc eax
mov dword [esp + 0xa0], eax
cmp eax, dword [esp + 0x2c]
jge 0x48469d
inc ebx
jmp 0x4846c2
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xc0]
add dword [esp + 0x3c], eax
add ebx, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xc0], ebx
mov eax, dword [esp + 0x7c]
inc eax
add edi, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x70]
jl 0x484576
cmp byte [esp + 0x17], 0
je 0x4847ff
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x38], edi
jne 0x484742
lea ecx, [edi*4 + 0xfa0]
push ecx
call fcn.004ba2ed
mov esi, eax
add esp, 4
test esi, esi
je 0x484807
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x50]
lea eax, [edx*4]
push eax
push ebx
push esi
call fcn.004c3030
add esp, 0xc
push ebx
call fcn.004ba14c
add esp, 4
add edi, 0x3e8
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x58]
lea esi, [ebx + edx]
cmp ecx, eax
jge 0x4847aa
mov edi, dword [esp + 0x44]
mov edx, ecx
imul edx, dword [esp + 0x1c]
add edx, ebx
sub eax, ecx
lea edx, [edi + edx*4]
mov dword [esp + 0x3c], eax
cmp ebx, esi
jge 0x48479a
mov eax, dword [esp + 0xb0]
mov ecx, esi
sub ecx, ebx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add edx, eax
dec dword [esp + 0x3c]
jne 0x484787
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x4847bb
cmp eax, dword [esp + 0x38]
jle 0x4847d1
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x98]
jl 0x4844e9
cmp byte [esp + 0x17], 0
je 0x4847e2
cmp dword [esp + 0x38], 0
setne byte [esp + 0x13]
cmp byte [esp + 0x13], 0
jne 0x4847ff
mov eax, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9220
push eax
call fcn.004a5c20
mov byte [esp + 0xbb], 1
mov esi, dword [esp + 0x18]
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0x40], ecx
test bl, bl
je 0x4848cd
cmp dword [esp + 0x74], 4
jle 0x48485f
mov edi, dword [esp + 0x8c]
mov eax, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xcc], 0
je 0x4848cd
mov eax, dword [esp + 0x84]
cmp eax, 0xffffffff
je 0x4848cd
cmp dword [esp + 0x74], 3
push ecx
push eax
jne 0x4848a6
mov ecx, dword [esp + 0x6c]
push ecx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x3c]
push ecx
jmp 0x4848c5
mov byte [esp + 0x13], 0
jmp 0x4847bb
mov eax, dword [esp + 0xbc]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00485570
add esp, 0x1c
cmp byte [esp + 0x37], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x4848e6
mov ecx, dword [esp + 0x104]
push ecx
call edi
jmp 0x4848f6
mov edx, dword [esp + 0x104]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x57], 0
je 0x484915
cmp dword [esp + 0xc4], 0
je 0x484915
mov eax, dword [esp + 0xc4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xa4], 0
je 0x48493b
cmp byte [esp + 0x4e], 0
je 0x48492d
cmp byte [esp + 0x7b], 0
je 0x48493b
mov ecx, dword [esp + 0xa4]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xa8], 0
je 0x48496f
cmp dword [esp + 0x100], 0
je 0x484965
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0xa8]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xa8]
push ecx
call edi
cmp dword [esp + 0xac], 0
je 0x484987
mov edx, dword [esp + 0xac]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xb4], 0
je 0x4849a1
mov eax, dword [esp + 0xb4]
push eax
call fcn.004ba14c
add esp, 4
cmp dword [esp + 0x90], 0
je 0x4849bb
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004ba14c
add esp, 4
test bl, bl
jne 0x4849db
cmp dword [esp + 0x50], 0
je 0x4849db
mov edx, dword [esp + 0x50]
push edx
call fcn.004ba14c
add esp, 4
mov dword [esp + 0x50], 0
cmp dword [esp + 0x64], 0
je 0x4849ef
mov eax, dword [esp + 0x64]
push eax
call fcn.004ba14c
add esp, 4
cmp dword [esp + 0x68], 0
je 0x484a03
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004ba14c
add esp, 4
cmp dword [esp + 0x44], 0
je 0x484a17
mov edx, dword [esp + 0x44]
push edx
call fcn.004ba14c
add esp, 4
cmp byte [esp + 0xbb], 0
jne 0x484aaf
mov esi, dword [0x4f13d8]
cmp byte [esi + 0x17], 0
jne 0x484a34
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x484a4a
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 0x484a7c
mov eax, esi
call fcn.004015f0
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [0x4f0d38], 0
je 0x484a89
test al, 0x10
jne 0x484a96
cmp dword [0x4f0d3c], 0
je 0x484aa1
test al, 0x20
je 0x484aa1
test al, 8
je 0x484aa1
mov eax, esi
call fcn.004015f0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test bl, bl
je 0x484aa1
cmp byte [esp + 0x17], 0
jne 0x484d20
cmp dword [esp + 0x74], 3
je 0x484add
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov eax, esi
call fcn.004854f0
mov esi, eax
mov eax, esi
cdq
idiv dword [esp + 0x1c]
cmp byte [esp + 0x37], 0
je 0x484af9
mov ecx, dword [ebp + 0xc]
lea esi, [edx + ecx]
mov edx, dword [ebp + 0x10]
lea ebx, [eax + edx]
jmp 0x484b11
sub edx, dword [esp + 0xd8]
sub eax, dword [esp + 0xdc]
add edx, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov esi, edx
mov ebx, eax
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x484c84
mov eax, dword [esp + 0x74]
cmp eax, 1
je 0x484b63
cmp eax, 7
je 0x484b63
cmp eax, 2
je 0x484b50
cmp eax, 8
je 0x484b50
test eax, eax
je 0x484b41
cmp eax, 6
jne 0x484b7f
mov edi, dword [esp + 0x2c]
mov eax, 1
sub eax, edi
add esi, eax
jmp 0x484b83
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, 1
sub eax, ecx
add ebx, eax
jmp 0x484b87
mov edi, dword [esp + 0x2c]
mov ecx, 1
sub ecx, edi
add esi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 1
sub eax, ecx
add ebx, eax
jmp 0x484b87
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x24], esi
add dword [esp + 0x58], ebx
cmp edx, 1
jne 0x484c46
dec dword [0x4ec458]
jne 0x484ba5
call fcn.004136d0
mov ecx, dword [0x4efb04]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4efb04], 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.004c9840
add esi, eax
dec dword [0x4ec458]
jne 0x484bfa
call fcn.004136d0
mov ecx, dword [0x4efb04]
mov eax, dword [ecx]
mov edx, eax
add ecx, 4
shr edx, 0xb
xor eax, edx
mov dword [0x4efb04], 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.004c9840
add ebx, eax
jmp 0x484c90
cmp edx, 2
jne 0x484c5f
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 0x484c90
cmp edx, 4
jne 0x484c6a
lea ebx, [ebx + ecx - 1]
jmp 0x484c90
cmp edx, 5
jne 0x484c75
lea esi, [esi + edi - 1]
jmp 0x484c90
cmp edx, 6
jne 0x484c90
lea esi, [esi + edi - 1]
lea ebx, [ebx + ecx - 1]
jmp 0x484c90
add dword [esp + 0x24], esi
add dword [esp + 0x58], ebx
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0xcc], 0
je 0x484ce5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x68]
push edi
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
call fcn.004856f0
add esp, 0x20
test eax, eax
je 0x484cda
mov ecx, dword [esp + 0xcc]
mov edi, eax
call fcn.004a5f60
test eax, eax
jne 0x484ce5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x484cfe
mov eax, esi
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x485494
mov eax, ebx
cdq
push 0x18
push edx
push eax
mov eax, ecx
call fcn.00401570
jmp 0x485494
push 0x20
call fcn.004bbddb
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x484d58
mov dword [eax + 4], 1
mov dword [eax], vtable.Object.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x90], eax
jmp 0x484d5f
mov dword [esp + 0x90], ecx
mov dword [esp + 0xb4], ecx
cmp dword [esp + 0x38], ecx
jle 0x4850d8
mov ebx, dword [esp + 0x2c]
jmp 0x484d80
cmp dword [esp + 0x74], 3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xb4]
mov eax, dword [eax + ecx*4]
mov edi, dword [esp + 0x1c]
je 0x484da9
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
call fcn.004854f0
cdq
idiv edi
cmp byte [esp + 0x37], 0
je 0x484dc8
mov ecx, dword [ebp + 0xc]
lea edi, [edx + ecx]
mov edx, dword [ebp + 0x10]
lea esi, [eax + edx]
mov dword [esp + 0x88], esi
jmp 0x484de7
sub edx, dword [esp + 0xd8]
sub eax, dword [esp + 0xdc]
add edx, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x484f4a
mov eax, dword [esp + 0x74]
cmp eax, 1
je 0x484eeb
cmp eax, 7
je 0x484eeb
cmp eax, 2
je 0x484ef4
cmp eax, 8
je 0x484ef4
test eax, eax
je 0x484e27
cmp eax, 6
jne 0x484e30
mov eax, 1
sub eax, ebx
add edi, eax
mov ecx, dword [esp + 0x30]
cmp edx, 1
jne 0x484f0d
dec dword [0x4ec458]
jne 0x484e4a
call fcn.004136d0
mov ecx, dword [0x4efb04]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4efb04], 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, ebx
cdq
push edx
push eax
push 0
push ecx
call fcn.004c9840
add edi, eax
dec dword [0x4ec458]
jne 0x484e9f
call fcn.004136d0
mov ecx, dword [0x4efb04]
mov eax, dword [ecx]
mov edx, eax
add ecx, 4
shr edx, 0xb
xor eax, edx
mov dword [0x4efb04], 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.004c9840
add esi, eax
jmp 0x484f43
mov ecx, 1
sub ecx, ebx
add edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, 1
sub eax, ecx
add esi, eax
mov dword [esp + 0x88], esi
jmp 0x484e34
cmp edx, 2
jne 0x484f26
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add esi, eax
jmp 0x484f43
cmp edx, 4
je 0x484f3f
cmp edx, 5
jne 0x484f36
lea edi, [edi + ebx - 1]
jmp 0x484f4a
cmp edx, 6
jne 0x484f4a
lea edi, [edi + ebx - 1]
lea esi, [esi + ecx - 1]
mov dword [esp + 0x88], esi
cmp dword [esp + 0xcc], 0
je 0x485079
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x3a8]
mov ebx, 1
jmp 0x484f70
mov dword [esp + eax*4 + 0x120], ecx
add eax, ebx
add ecx, 0x10
cmp eax, 0x12
jl 0x484f70
cmp esi, 0xffffffff
jle 0x484fe1
mov eax, edi
cdq
mov dword [esp + 0x3b8], eax
mov dword [esp + 0x3bc], edx
mov eax, esi
cdq
xor ecx, ecx
mov dword [esp + 0x3dc], edx
mov dword [esp + 0x3b0], ecx
mov dword [esp + 0x3a8], str.xywh
mov dword [esp + 0x3c0], ebx
mov dword [esp + 0x3d0], ecx
mov dword [esp + 0x3c8], 0x4e4114
mov dword [esp + 0x3e0], ebx
mov dword [esp + 0x3d8], eax
mov edx, 4
push edx
lea edx, [esp + 0x124]
push edx
call fcn.004962d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x484cda
mov esi, dword [esp + 0x90]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x108]
mov dword [esp + 0xec], eax
mov dword [esp + 0x110], 6
mov dword [esp + 0x108], ebx
test ecx, ecx
je 0x485038
mov eax, dword [esi + 0xc]
mov edx, ecx
add edx, edx
mov eax, dword [eax + edx*8 - 8]
inc eax
jmp 0x48503d
mov eax, 1
push 1
lea edx, [esp + 0xf0]
push edx
push eax
push ecx
call fcn.004977c0
test al, al
jne 0x485066
push 0x4d6959
push str.Out_of_memory.
mov ecx, 0x4f1cd8
call fcn.00473b40
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0xb4], 0
jne 0x4850bd
cmp dword [esp + 0xd4], 0
je 0x4850a0
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, dword [esp + 0xe0]
call fcn.00401570
cmp dword [esp + 0xd0], 0
je 0x4850bd
mov eax, esi
cdq
push 0x18
push edx
push eax
mov eax, dword [esp + 0xdc]
call fcn.00401570
mov eax, dword [esp + 0xb4]
inc eax
mov dword [esp + 0xb4], eax
cmp eax, dword [esp + 0x38]
jl 0x484d80
xor ecx, ecx
cmp dword [esp + 0xcc], ecx
je 0x485468
lea edx, [esp + 0x188]
mov dword [esp + 0x120], edx
lea eax, [esp + 0x198]
mov dword [esp + 0x124], eax
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x128], ecx
lea edx, [esp + 0x1b8]
mov dword [esp + 0x12c], edx
lea eax, [esp + 0x1c8]
mov dword [esp + 0x130], eax
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x134], ecx
lea edx, [esp + 0x1e8]
mov dword [esp + 0x138], edx
lea eax, [esp + 0x1f8]
mov dword [esp + 0x13c], eax
lea ecx, [esp + 0x208]
mov dword [esp + 0x140], ecx
lea edx, [esp + 0x218]
mov dword [esp + 0x144], edx
lea eax, [esp + 0x228]
mov dword [esp + 0x148], eax
lea ecx, [esp + 0x238]
lea edx, [esp + 0x248]
lea eax, [esp + 0x258]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
lea ecx, [esp + 0x268]
lea edx, [esp + 0x278]
lea eax, [esp + 0x288]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], eax
lea ecx, [esp + 0x298]
lea edx, [esp + 0x2a8]
lea eax, [esp + 0x2b8]
xor edi, edi
push str._._:5
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], eax
mov dword [esp + 0x194], edi
call fcn.0049be50
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x28]
cdq
add esp, 4
mov esi, 1
push str._._:4
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1b4], edi
call fcn.0049be50
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x5c]
cdq
add esp, 4
push 0x4e42c4
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1d4], edi
call fcn.0049be50
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0xb4]
cdq
add esp, 4
push 0x4e42d4
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1f4], edi
call fcn.0049be50
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x44]
cdq
add esp, 4
mov dword [esp + 0x200], esi
mov dword [esp + 0x1f8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1fc], edx
cdq
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x21c], edx
cdq
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x23c], edx
cdq
mov dword [esp + 0x210], edi
mov dword [esp + 0x230], edi
mov dword [esp + 0x250], edi
lea edi, [esp + 0x120]
mov dword [esp + 0x208], 0x4e4118
mov dword [esp + 0x220], esi
mov dword [esp + 0x228], 0x4e411c
mov dword [esp + 0x240], esi
mov dword [esp + 0x248], str.count
mov dword [esp + 0x260], esi
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], edx
mov dword [esp + 0xd0], edi
mov dword [esp + 0x3c], 7
mov ebx, dword [edi]
push ebx
call fcn.0044cb20
add esp, 4
cmp eax, 1
jne 0x4853a4
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0xd8]
push ecx
push edx
lea ecx, [eax + 1]
mov edx, edi
call fcn.00497940
jmp 0x485432
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x90]
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xf0]
push edx
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x3b4]
push ecx
push ebx
mov ecx, esi
call fcn.004987f0
mov ecx, eax
test ecx, ecx
jne 0x485405
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xc0]
push edx
push eax
call fcn.004988b0
mov ecx, eax
test ecx, ecx
je 0x48541e
mov eax, dword [esp + 0xd4]
mov edi, ecx
call fcn.00498390
mov edi, dword [esp + 0xd0]
test al, al
jne 0x485436
push 0x4d6959
push str.Out_of_memory.
mov ecx, 0x4f1cd8
call fcn.00473b40
test eax, eax
je 0x485454
mov eax, 1
mov dword [esp + 0xe0], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0
add edi, 8
dec dword [esp + 0x3c]
mov dword [esp + 0xd0], edi
jne 0x485375
mov edi, dword [esp + 0x90]
test edi, edi
je 0x485487
mov ecx, dword [esp + 0xcc]
call fcn.004a5f60
test eax, eax
je 0x484cda
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004ba14c
add esp, 4
mov edx, dword [0x4f13d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4d69c8
push edx
call fcn.004a5c20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18