Function at 0x405200
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x1f8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
jae 0x4052fd
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x68]
jne 0x4052fd
cmp dword [ebp - 0x4c], 0x2df
jne 0x4052fd
mov ecx, dword [ebp - 0x18]
sub ecx, 0x4ba
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x50], 0x232
je 0x40530f
cmp dword [ebp - 0x10], 0xfc
je 0x405318
mov edx, 0x110
mov word [ebp - 0x34], dx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x24]
jne 0x405332
cmp dword [ebp - 0x30], 0x3d3
jne 0x40533c
movzx ecx, word [ebp - 0x10]
cmp dword [ebp - 0x68], ecx
jne 0x40533c
mov edx, dword [ebp - 0x24]
sub edx, 3
mov word [ebp - 0x44], dx
mov eax, 0x156
sub eax, dword [ebp - 0xc]
mov byte [ebp - 0x20], al
mov dword [ebp - 0x2c], 0
jmp 0x405359
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 2
jae 0x40536d
mov edx, dword [ebp - 0x5c]
sub edx, 0x2cd
mov dword [ebp - 0x50], edx
jmp 0x405350
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
call fcn.00403ca0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.004024c0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
sub edx, 0x1c
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 0x80
ja case.0x4053ee.1
mov eax, dword [ebp - 0x88]
movzx ecx, byte [eax + 0x4061dc]
jmp dword [ecx*4 + 0x4061c4]
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x44]
sub edx, 0x217
mov dword [ebp - 0x20], edx
jmp 0x40543a
mov dword [ebp - 0x34], 0x12
jmp 0x40543a
mov eax, dword [ebp - 4]
sub eax, 0x1c1
mov dword [ebp - 0x38], eax
jmp 0x40543a
mov ecx, 0x35d
mov word [ebp - 0x5c], cx
jmp 0x40543a
mov dword [ebp - 0x44], 0x18c
jmp 0x40543a
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x3c]
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.00403720
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x28]
ja 0x40546d
cmp dword [ebp - 0x4c], 0x30c
je 0x405476
cmp dword [ebp - 0x5c], 0x2e7
jb 0x40547f
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 0
jmp 0x405491
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 1
jae 0x4054a6
movzx edx, word [ebp - 0x28]
sub edx, 0x2d9
mov dword [ebp - 4], edx
jmp 0x405488
mov eax, 0x12c
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x50]
je 0x4054c9
cmp dword [ebp - 0x24], 0
jbe 0x4054c9
mov dword [ebp - 0x18], 0x5b2
mov dword [ebp - 0x20], 0
jmp 0x4054db
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 3
jae 0x4054ee
mov eax, dword [ebp - 0xc]
add eax, 0x21c
mov dword [ebp - 0x38], eax
jmp 0x4054d2
mov dword [ebp - 4], 0
jmp 0x405500
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 1
jae 0x405514
mov edx, dword [ebp - 8]
add edx, 0x2db
mov dword [ebp - 0x38], edx
jmp 0x4054f7
cmp dword [ebp - 0x24], 0x1d0
je 0x40553a
cmp dword [ebp - 0x1c], 0x97
jae 0x40553a
cmp dword [ebp - 0x68], 0x265
jne 0x40553a
mov eax, 0x3d9
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], 0x6d5
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x60]
jae 0x40555b
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x2c]
je 0x40555b
movzx eax, word [ebp - 0x1c]
add eax, 0x7a
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
jmp 0x40556d
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 2
jae 0x405581
mov edx, dword [ebp - 0x38]
sub edx, 0x30d
mov dword [ebp - 0x3c], edx
jmp 0x405564
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
call fcn.004034d0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
call fcn.00402b60
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x60]
jae 0x4055e1
cmp dword [ebp - 4], 0
ja 0x4055e1
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x375
or ecx, 0x118
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], 0
jmp 0x4055f3
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 3
jae 0x405602
mov dword [ebp - 0x1c], 0x988
jmp 0x4055ea
cmp dword [ebp - 0x10], 0
ja 0x405624
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x44]
jbe 0x405624
movzx ecx, word [ebp - 0x64]
mov edx, 0x334
sub edx, ecx
movzx eax, byte [ebp - 0x4c]
add edx, eax
mov dword [ebp - 0x48], edx
push 0x40
push 0x1000
push 0x1e77d2
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ecx, ax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.00403720
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00403ca0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x64], 0x14d
jae 0x4056ac
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x30]
jne 0x4056bf
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x2c]
jbe 0x4056bf
mov ecx, 0xc0
sub ecx, dword [ebp - 0x18]
sub ecx, 0x264
mov dword [ebp - 0x14], ecx
jmp 0x4056cb
mov edx, dword [ebp - 0x14]
sub edx, 0xb5
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
call fcn.00403f60
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xac], 0
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], ecx
push str.E8M1r
push 0xc006ef7
push 0xa06d63c
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x40]
call fcn.00403b70
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0xc]
jne 0x405758
cmp dword [ebp - 0x50], 0
jbe 0x405761
cmp dword [ebp - 0x5c], 0xcf
jbe 0x40576c
mov edx, 0x383
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
call fcn.00404060
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
call fcn.00403720
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
jmp 0x4057c2
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 1
jae 0x4057db
movzx edx, word [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edx - 0xb8]
mov dword [ebp - 8], ecx
jmp 0x4057b9
mov dword [ebp - 0x58], 0x1e0
cmp dword [ebp - 0x20], 0
jae 0x4057fd
cmp dword [ebp - 0x24], 0x164
jbe 0x4057fd
mov edx, 0x51a
sub edx, dword [ebp - 0x5c]
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x80]
add eax, 0xfd000
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x48], 0
je 0x405816
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x14]
jae 0x405826
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
lea ecx, [eax + edx - 0xad]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
jmp 0x405838
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 2
jae 0x405849
mov eax, 0x2b3
mov word [ebp - 0x24], ax
jmp 0x40582f
mov dword [ebp - 0x9c], 0xba07f0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0xa9
ja 0x40587c
cmp dword [ebp - 0x7c], 0xa9
je 0x4058a8
cmp dword [ebp - 0x7c], 0x32
je 0x4058b6
cmp dword [ebp - 0x7c], 0x80
je 0x40589b
jmp 0x4058d0
cmp dword [ebp - 0x7c], 0xf2
je 0x4058c2
cmp dword [ebp - 0x7c], 0x135
je 0x405890
jmp 0x4058d0
mov edx, 0xff4c
mov word [ebp - 0x14], dx
jmp 0x4058dc
mov eax, 0x2cc
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
jmp 0x4058dc
mov ecx, 0x4a0
sub ecx, dword [ebp - 0x28]
mov word [ebp - 0x38], cx
jmp 0x4058dc
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x34]
mov word [ebp - 0xc], dx
jmp 0x4058dc
mov eax, dword [ebp - 0x68]
add eax, 0x171
mov word [ebp - 0x54], ax
jmp 0x4058dc
mov ecx, dword [ebp - 0x34]
add ecx, 0x177
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x24]
jbe 0x4058f8
cmp dword [ebp - 0x3c], 0x18c
jb 0x4058f8
mov eax, dword [ebp - 0x1c]
add eax, 0x380
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x54], 0x37c
jae 0x405918
cmp dword [ebp - 0x30], 0x3cc
jae 0x405918
mov dword [ebp - 0x30], 0x178
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x38]
jne 0x405928
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x34]
jb 0x40592e
cmp dword [ebp - 0x44], 0x7a
jbe 0x40593f
movzx eax, word [ebp - 0x3c]
mov ecx, 0x1a1
sub ecx, eax
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 4], 0x2cc
jne 0x40595a
cmp dword [ebp - 0x1c], 0x24a
jbe 0x405961
movzx edx, byte [ebp - 0x64]
cmp dword [ebp - 0x5c], edx
jne 0x405961
mov dword [ebp - 0x58], 0xffffff00
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
je 0x405972
cmp dword [ebp - 0x54], 0xc1
jne 0x40597e
mov ecx, dword [ebp - 0x30]
sub ecx, 0x24c
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x8c], 0x3d5a77af
cmp dword [ebp - 0x20], 0x250
jb 0x4059a3
movzx eax, word [ebp - 0x34]
cmp dword [ebp - 0xc], eax
jae 0x4059b0
movzx ecx, word [ebp - 0x4c]
sub ecx, 0x1ed
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x28], 0x256
je 0x4059d2
cmp dword [ebp - 0x20], 0x311
jne 0x4059d2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
lea ecx, [eax + edx - 0xbe]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x70], 0x7c804157
mov dword [ebp - 4], 0
jmp 0x4059eb
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 2
jae 0x4059fc
mov eax, 0xfeef
mov word [ebp - 0x50], ax
jmp 0x4059e2
cmp dword [ebp - 0xc], 0xae
jae 0x405a1a
cmp dword [ebp - 0x30], 0xc9
jbe 0x405a1a
mov ecx, dword [ebp - 0x5c]
add ecx, 0x3b2
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x90], 0x54ecd57e
mov dword [ebp - 0x10], 0
jmp 0x405a36
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 3
jae 0x405a4b
movzx eax, word [ebp - 0x50]
add eax, 0x2a5
mov word [ebp - 0x38], ax
jmp 0x405a2d
cmp dword [ebp - 0x60], 0x271
je 0x405a69
cmp dword [ebp - 8], 0xe7
jbe 0x405a69
mov ecx, dword [ebp - 0x58]
sub ecx, 0x17c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x78], 0xfcca85e
mov dword [ebp - 0x3c], 0
jmp 0x405a82
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 1
jae 0x405a9e
movzx eax, word [ebp - 0x10]
mov ecx, 0x185
sub ecx, eax
add ecx, 0xb3
mov dword [ebp - 0x18], ecx
jmp 0x405a79
cmp dword [ebp - 8], 0x2a3
je 0x405ac4
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 8]
jne 0x405ac4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x4c]
jne 0x405ac4
movzx ecx, word [ebp - 0x20]
add ecx, 0x3dc
mov dword [ebp - 8], ecx
mov dword [ebp - 0x84], 0xaae57a70
cmp dword [ebp - 0xc], 0x2de
je 0x405aed
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x24]
jbe 0x405aed
mov eax, dword [ebp - 0x4c]
add eax, 0x158
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
movzx ecx, word [ebp - 0x14]
cmp dword [ebp - 0x5c], ecx
jne 0x405b0f
cmp dword [ebp - 0x38], 0x360
ja 0x405b0f
mov edx, dword [ebp - 0x54]
add edx, 0x169
or edx, dword [ebp - 0x4c]
mov word [ebp - 0x30], dx
mov dword [ebp - 0x98], 0x99187488
cmp dword [ebp - 0x2c], 0x29a
jne 0x405b34
cmp dword [ebp - 0x58], 0x38b
jne 0x405b40
cmp dword [ebp - 0x20], 0x25a
jb 0x405b40
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xb0c8
jae 0x406042
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0xc]
ja 0x405b65
cmp dword [ebp - 0x18], 0x21b
jne 0x405b69
mov byte [ebp - 8], 0x8a
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x3c]
ja 0x405b92
cmp dword [ebp - 0x10], 0x1c0
jbe 0x405b9e
cmp dword [ebp - 0x10], 0x18d
jb 0x405b9e
mov ecx, dword [ebp - 0x48]
add ecx, 0x30c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x40]
ja 0x405bb8
cmp dword [ebp - 0x24], 0x2cf
je 0x405bc3
cmp dword [ebp - 0x38], 0x1ab
ja 0x405bc3
mov eax, dword [ebp - 0x1c]
sub eax, 0x1f4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x78]
xor ecx, dword [ebp - 0x70]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 8], 0
jmp 0x405bde
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jae 0x405bf1
mov eax, dword [ebp - 0x48]
add eax, 0x3ab
mov dword [ebp - 0x2c], eax
jmp 0x405bd5
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xb8
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov dword [ebp - 8], 0
jmp 0x405c30
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jae 0x405c44
mov edx, dword [ebp - 0x58]
sub edx, 0x30f
mov dword [ebp - 0x10], edx
jmp 0x405c27
mov dword [ebp - 0x64], 0xffffffa9
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x1c]
jbe 0x405c6e
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x20]
je 0x405c6e
mov dword [ebp - 0x24], 0x3e3
mov dword [ebp - 0xc], 0
jmp 0x405c80
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jae 0x405c8f
mov dword [ebp - 0x48], 0x434
jmp 0x405c77
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x28], 0
jmp 0x405cb3
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 2
jae 0x405cc5
movzx eax, word [ebp - 0x30]
sub eax, 0x37
mov dword [ebp - 0x68], eax
jmp 0x405caa
mov dword [ebp - 0x60], 0
jmp 0x405cd7
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 2
jae 0x405cf0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edx - 0x2f1]
mov word [ebp - 0x1c], cx
jmp 0x405cce
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x84]
mov dword [ebp - 0x78], edx
movzx eax, word [ebp - 0x4c]
cmp dword [ebp - 4], eax
je 0x405d1a
cmp dword [ebp - 0x24], 0x328
je 0x405d1a
mov ecx, dword [ebp - 0x24]
add ecx, 0x2c1
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x58], 0
je 0x405d31
cmp dword [ebp - 0x40], 0x1a7
je 0x405d3c
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x1c]
jne 0x405d3c
mov eax, dword [ebp - 0x4c]
add eax, 0x1ef
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0x70], ecx
mov edx, 0xfffffdf5
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], 0
jmp 0x405d62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jae 0x405d71
mov dword [ebp - 0x4c], 0xfffffd16
jmp 0x405d59
mov ecx, dword [ebp - 0x70]
xor ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x40], 0xbc
jb 0x405d96
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x3c]
je 0x405da7
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jne 0x405da7
mov ecx, 0x221
sub ecx, dword [ebp - 0x34]
add ecx, 0x325
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
ja 0x405db8
cmp dword [ebp - 0xc], 0x11e
jne 0x405dc3
mov eax, 0x121
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
jmp 0x405dd5
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
jae 0x405de9
mov edx, dword [ebp - 0x44]
sub edx, 0x236
mov dword [ebp - 0x48], edx
jmp 0x405dcc
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x74], 0xe6
ja 0x405e24
cmp dword [ebp - 0x74], 0xe6
je 0x405e51
cmp dword [ebp - 0x74], 0x15
je 0x405e64
cmp dword [ebp - 0x74], 0x69
je 0x405e43
cmp dword [ebp - 0x74], 0x8e
je 0x405e38
jmp 0x405e86
cmp dword [ebp - 0x74], 0x127
je 0x405e78
cmp dword [ebp - 0x74], 0x155
je 0x405e6f
jmp 0x405e86
mov edx, 0xfc9c
mov word [ebp - 0x2c], dx
jmp 0x405e92
movzx eax, word [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x40], ecx
jmp 0x405e92
mov edx, 0x105
sub edx, dword [ebp - 0x34]
add edx, 0x81
mov dword [ebp - 8], edx
jmp 0x405e92
mov eax, 0x353
mov word [ebp - 0x1c], ax
jmp 0x405e92
mov dword [ebp - 0x64], 0xfffffdb1
jmp 0x405e92
mov ecx, dword [ebp - 0x58]
add ecx, 0xc2
mov dword [ebp - 0x5c], ecx
jmp 0x405e92
mov edx, dword [ebp - 0x18]
add edx, 0x656
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x10], 0xfd
jbe 0x405ebf
cmp dword [ebp - 0x28], 0x33a
jne 0x405ebf
mov ecx, dword [ebp - 0x10]
add ecx, 0x3bd
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x24]
jb 0x405ecd
cmp dword [ebp - 0x4c], 0
je 0x405ed6
cmp dword [ebp - 0x58], 0x29a
je 0x405ee6
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0x322]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
jb 0x405ef7
cmp dword [ebp - 0x14], 0x1ff
jbe 0x405f01
movzx ecx, byte [ebp - 8]
or ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
sub eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
mov dword [ebp - 4], 0
jmp 0x405f29
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jae 0x405f3e
movzx eax, word [ebp - 0x60]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
jmp 0x405f20
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x24]
jne 0x405f55
cmp dword [ebp - 0x38], 0
je 0x405f55
cmp dword [ebp - 0x5c], 0x35e
jae 0x405f5c
mov dword [ebp - 4], 0xf4
cmp dword [ebp - 0x2c], 0x142
je 0x405f6d
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x1c]
je 0x405f73
cmp dword [ebp - 0x54], 0
jae 0x405f7a
mov dword [ebp - 0xc], 0x47c
cmp dword [ebp - 0x1c], 0x9a
ja 0x405f9e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x50]
je 0x405f9e
mov ecx, dword [ebp - 0x38]
add ecx, 0x12b
or ecx, 0x389
mov word [ebp - 0x68], cx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x405fbb
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
jae 0x405fbb
movzx ecx, word [ebp - 0x38]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x18], 0xa8
je 0x405fd6
cmp dword [ebp - 0x44], 0xa9
jae 0x405fd6
cmp dword [ebp - 0x4c], 0x2a2
jne 0x405fdf
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
jmp 0x405ff1
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 2
jae 0x406004
mov edx, 0x1a8
sub edx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
jmp 0x405fe8
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jb 0x406012
cmp dword [ebp - 0x18], 0
jb 0x40601b
movzx ecx, byte [ebp - 0x44]
cmp dword [ebp - 0x50], ecx
jbe 0x406026
mov edx, 0x8b
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x6c]
sub eax, 0x354c8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x354cc
mov dword [ebp - 0x6c], ecx
jmp 0x405b47
cmp dword [ebp - 0x58], 0
je 0x40605a
movzx edx, word [ebp - 0x1c]
cmp dword [ebp - 0x30], edx
ja 0x406061
cmp dword [ebp - 0x1c], 0x3c8
ja 0x406061
mov dword [ebp - 0x60], 0x119
mov eax, dword [ebp - 0x80]
add eax, 0x88b5
mov dword [0x47352c], eax
cmp dword [ebp - 0x54], 0x265
jb 0x40607f
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x28]
jae 0x40608c
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x30]
mov word [ebp - 0x18], dx
cmp dword [ebp - 0x50], 0x2ba
jbe 0x40609d
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xc]
je 0x4060ad
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x34]
lea eax, [edx + ecx + 0xd0]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x3c]
je 0x4060cb
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x60]
je 0x4060cb
movzx eax, word [ebp - 0x18]
mov ecx, 0x3d7
sub ecx, eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
call fcn.00402f40
mov dword [ebp - 0x44], eax
movzx eax, word [ebp - 0x3c]
cmp dword [ebp - 0x38], eax
jne 0x406117
cmp dword [ebp - 4], 0x180
je 0x406117
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x68]
lea eax, [edx + ecx - 0x1a6]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0
jmp 0x406129
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jae 0x406141
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 0x181]
mov dword [ebp - 0x64], ecx
jmp 0x406120
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
call fcn.004039c0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x20], 0x155
ja 0x40617d
cmp dword [ebp - 0x18], 0xf9
ja 0x406188
mov eax, dword [ebp - 0x40]
add eax, 0x1d1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 0x2cc
jb 0x4061a2
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x20]
jbe 0x4061a2
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x60]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x40], 0x2cd
ja 0x4061bd
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x60]
je 0x4061bd
movzx ecx, word [ebp - 0x28]
add ecx, 0x1d
mov dword [ebp - 0x14], ecx
mov esp, ebp
pop ebp
ret