Function at 0x496bb6
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x496bfd
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x496bfd
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00496386
pop ecx
pop ecx
jmp 0x497dca
cmp dword [ebp + 0x10], 0
jne 0x4973f5
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.0048fe12
mov dword [ebp - 0x9c], eax
cmp dword [0xabb2b8], 0
jne 0x4973c3
mov dword [ebp - 0x1bc], 0x3f0d
lea eax, [ebp - 0x1bc]
push eax
call fcn.00496173
pop ecx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x13c], 0x15be
mov dword [ebp - 0x1ac], 0xaa8a5c
cmp dword [ebp - 0x13c], 0x1713
jle 0x496d32
and dword [ebp - 0xb8], 0
jmp 0x496c7c
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x6b74
jge 0x496d32
and dword [ebp - 0xc0], 0
jmp 0x496ca2
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x67a9
jge 0x496d2d
and dword [ebp - 0xa4], 0
jmp 0x496cc4
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1107
jge 0x496d28
mov eax, dword [ebp - 0xb8]
cdq
idiv dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xa4]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x274]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a8d0
push eax
call fcn.0049b1a7
pop ecx
lea ecx, [ebp - 0x274]
call fcn.0040a8c6
jmp 0x496cb7
jmp 0x496c95
jmp 0x496c6f
mov byte [ebp - 0x78], 5
mov byte [ebp - 0x77], 0xb7
mov byte [ebp - 0x76], 0
mov byte [ebp - 0x75], 0x35
mov byte [ebp - 0x74], 6
mov byte [ebp - 0x73], 0x34
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 7
mov byte [ebp - 0x70], 7
mov byte [ebp - 0x6f], 0x1d
mov byte [ebp - 0x6e], 3
mov byte [ebp - 0x6d], 0x3f
mov byte [ebp - 0x6c], 4
mov byte [ebp - 0x6b], 0x27
mov byte [ebp - 0x6a], 0xd6
mov byte [ebp - 0x69], 0x9f
mov byte [ebp - 0x68], 0xfa
mov byte [ebp - 0x67], 4
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 1
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 0xa
mov byte [ebp - 0x62], 0x20
mov byte [ebp - 0x61], 0xb
mov byte [ebp - 0x60], 0x3d
mov byte [ebp - 0x5f], 0xc
mov byte [ebp - 0x5e], 0x2f
mov byte [ebp - 0x5d], 8
mov byte [ebp - 0x5c], 0x38
mov byte [ebp - 0x5b], 9
mov byte [ebp - 0x5a], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x78]
or eax, 0xc5
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
and ecx, 0xc5
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0x168], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x50], 0
jmp 0x496df8
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1f
jae 0x496ea9
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x78]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x496e36
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x78]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x78]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x496df0
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x77]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x50]
movzx ecx, byte [ebp + ecx - 0x7a]
movsx ecx, byte [ebp + ecx - 0x168]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0x168]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x77]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0x7a]
movsx edx, byte [ebp + edx - 0x168]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x78]
mov byte [ebp + ecx - 0x168], al
and dword [ebp - 0x50], 0
jmp 0x496df0
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x168], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x13c], 0x13b3
jge 0x496ed3
push dword [ebp - 0x1ac]
call fcn.0049b1a7
pop ecx
jmp 0x496eef
or dword [ebp - 4], 0xffffffff
jmp 0x496ef9
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x28c]
call fcn.0048f145
mov edx, dword [ebp - 0x158]
mov ecx, eax
call fcn.0048fe12
mov dword [0xabb2b8], eax
lea ecx, [ebp - 0x28c]
call fcn.0040ab9d
and dword [ebp - 0x7c], 0
jmp 0x496f35
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xe
jae 0x496f48
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x168], 0
jmp 0x496f2e
mov byte [ebp - 0x12c], 0
mov byte [ebp - 0x12b], 0xca
mov byte [ebp - 0x12a], 0x4e
mov byte [ebp - 0x129], 0xae
mov byte [ebp - 0x128], 0xef
mov byte [ebp - 0x127], 0x73
mov byte [ebp - 0x126], 0xb9
mov byte [ebp - 0x125], 0xb1
mov byte [ebp - 0x124], 0x72
mov byte [ebp - 0x123], 0x5f
mov byte [ebp - 0x122], 0xce
mov byte [ebp - 0x121], 0x66
mov byte [ebp - 0x120], 0xa0
mov byte [ebp - 0x11f], 0x13
mov byte [ebp - 0x11e], 0x98
mov byte [ebp - 0x11d], 0x6e
mov byte [ebp - 0x11c], 0x89
mov byte [ebp - 0x11b], 0x37
mov byte [ebp - 0x11a], 0x66
mov byte [ebp - 0x119], 0xd2
mov byte [ebp - 0x118], 0xf7
mov byte [ebp - 0x117], 6
mov byte [ebp - 0x116], 0x7d
mov byte [ebp - 0x115], 0xa7
mov byte [ebp - 0x114], 0x47
mov byte [ebp - 0x113], 0x55
mov byte [ebp - 0x112], 0xd0
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0xd
mov byte [ebp - 0x10f], 0xbc
mov byte [ebp - 0x10e], 0x5f
mov byte [ebp - 0x10d], 0x9e
mov byte [ebp - 0x10c], 6
mov byte [ebp - 0x10b], 0x4e
mov byte [ebp - 0x10a], 0xde
mov byte [ebp - 0x109], 0x15
mov byte [ebp - 0x108], 0x9e
mov byte [ebp - 0x107], 0x90
mov byte [ebp - 0x106], 0xf
mov byte [ebp - 0x105], 0x4b
mov byte [ebp - 0x104], 0x8e
mov byte [ebp - 0x103], 0xbd
mov byte [ebp - 0x102], 0xde
mov byte [ebp - 0x101], 0xe7
mov byte [ebp - 0x100], 0xd2
mov byte [ebp - 0xff], 0x65
mov byte [ebp - 0xfe], 0xca
mov byte [ebp - 0xfd], 0x36
mov byte [ebp - 0xfc], 0x85
mov byte [ebp - 0xfb], 0xf6
mov byte [ebp - 0xfa], 0xe
mov byte [ebp - 0xf9], 0x9f
mov byte [ebp - 0xf8], 0xd6
mov byte [ebp - 0xf7], 0x62
mov byte [ebp - 0xf6], 0x97
mov byte [ebp - 0xf5], 0xe0
mov byte [ebp - 0xf4], 0x31
mov byte [ebp - 0xf3], 0x3f
mov byte [ebp - 0xf2], 0xdb
mov byte [ebp - 0xf1], 0x25
mov byte [ebp - 0xf0], 0x44
mov byte [ebp - 0xef], 0xb8
mov byte [ebp - 0xee], 0x6e
mov byte [ebp - 0xed], 0x46
mov byte [ebp - 0xec], 4
mov byte [ebp - 0xeb], 0x21
mov byte [ebp - 0xea], 0x7f
mov byte [ebp - 0xe9], 0x5c
mov byte [ebp - 0xe8], 0xd8
mov byte [ebp - 0xe7], 0x78
mov byte [ebp - 0xe6], 0x34
mov byte [ebp - 0xe5], 0x5e
mov byte [ebp - 0xe4], 0x82
mov byte [ebp - 0xe3], 0x45
mov byte [ebp - 0xe2], 0x5c
mov byte [ebp - 0xe1], 0x72
mov byte [ebp - 0xe0], 0x80
mov byte [ebp - 0xdf], 0x7a
mov byte [ebp - 0xde], 0xf
mov byte [ebp - 0xdd], 0x3c
mov byte [ebp - 0xdc], 0x70
mov byte [ebp - 0xdb], 4
mov byte [ebp - 0xda], 0x37
mov byte [ebp - 0xd9], 0xc
mov byte [ebp - 0xd8], 7
mov byte [ebp - 0xd7], 7
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd5], 1
mov byte [ebp - 0xd4], 0
mov byte [ebp - 0xd3], 6
mov byte [ebp - 0xd2], 0x22
mov byte [ebp - 0xd1], 0xa
mov byte [ebp - 0xd0], 0x35
mov byte [ebp - 0xcf], 5
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xcd], 8
mov byte [ebp - 0xcc], 0xa
mov byte [ebp - 0xcb], 2
mov byte [ebp - 0xca], 0xa
mov byte [ebp - 0xc9], 3
mov byte [ebp - 0xc8], 4
mov byte [ebp - 0xc7], 0xb
mov byte [ebp - 0xc6], 0x12
mov byte [ebp - 0xc5], 9
mov byte [ebp - 0xc4], 0x10
mov byte [ebp - 0xc3], 0xd
mov byte [ebp - 0xc2], 0x34
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x12c]
or eax, 0x89
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x12c]
and ecx, 0x89
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x12c]
mov byte [ebp + ecx - 0x178], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x54], 0
jmp 0x497288
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6b
jae 0x497357
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x12c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x4972cf
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12c]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12c]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x497280
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12b]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x12e]
movsx ecx, byte [ebp + ecx - 0x178]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x12b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x12e]
movsx edx, byte [ebp + edx - 0x178]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x12b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x12e]
movsx edx, byte [ebp + edx - 0x178]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x12c]
mov byte [ebp + ecx - 0x178], al
and dword [ebp - 0x54], 0
jmp 0x497280
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x178], 0
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0048f145
mov edx, dword [ebp - 0x158]
mov ecx, eax
call fcn.0048fe12
mov dword [0xabb3bc], eax
lea ecx, [ebp - 0x2bc]
call fcn.0040ab9d
and dword [ebp - 0x88], 0
jmp 0x4973aa
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xf
jae 0x4973c3
mov eax, dword [ebp - 0x88]
mov byte [ebp + eax - 0x178], 0
jmp 0x49739d
mov eax, dword [0xabb2b8]
cmp eax, dword [ebp - 0x9c]
je 0x4973dd
mov eax, dword [0xabb3bc]
cmp eax, dword [ebp - 0x9c]
jne 0x4973f5
mov ecx, dword [ebp + 0xc]
call fcn.0040a8d0
push eax
push dword [ebp + 8]
call fcn.00496386
pop ecx
pop ecx
jmp 0x497dca
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
je 0x497dc8
mov eax, dword [ebp - 0x8c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x497dc8
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x4550
jne 0x497dc8
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x74], 0
jbe 0x497dc8
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + eax + 0x78], 0
je 0x497dc8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x4974a5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x4974a0
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x497743
mov dword [ebp - 0x14c], 0x133b
mov dword [ebp - 0x1b8], 0xaa8a90
cmp dword [ebp - 0x14c], 0x1536
jle 0x497574
and dword [ebp - 0xac], 0
jmp 0x4974df
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x4e03
jge 0x497574
and dword [ebp - 0xb4], 0
jmp 0x497505
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x5c60
jge 0x49756f
and dword [ebp - 0x94], 0
jmp 0x497527
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x4b8f
jge 0x49756d
mov eax, dword [ebp - 0xb4]
cdq
idiv dword [ebp - 0x94]
and edx, dword [ebp - 0xac]
mov eax, edx
cdq
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xaba118
call fcn.0040a8db
jmp 0x49751a
jmp 0x4974f8
jmp 0x4974d2
mov eax, dword [0xabb3b8]
and eax, 1
jne 0x4975a0
mov eax, dword [0xabb3b8]
or eax, 1
mov dword [0xabb3b8], eax
mov ecx, 0xabb410
call fcn.0040ae0f
push 0x4b1e03
call fcn.0049b17d
pop ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14c], 0x107f
jge 0x4975c3
mov edx, dword [ebp - 0x1b8]
mov ecx, 0xaba118
call fcn.0040d553
jmp 0x4975df
or dword [ebp - 4], 0xffffffff
jmp 0x4975e9
movzx eax, byte [0xabb2a5]
test eax, eax
je 0x497652
mov ecx, 0xabb410
call fcn.004988e9
movzx eax, al
test eax, eax
jne 0x497652
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, 0xabb410
call fcn.0040ade7
lea eax, [ebp - 0x1c8]
push eax
mov ecx, 0xabb410
call fcn.0040add9
push eax
lea ecx, [ebp - 0x134]
call fcn.0040adfc
movzx eax, al
test eax, eax
je 0x497652
lea ecx, [ebp - 0x134]
call fcn.004988f2
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x497743
mov ecx, 0xabb410
call fcn.00498936
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xabb410
call fcn.0049893a
and dword [ebp - 0x30], 0
jmp 0x497684
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x497743
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x49773e
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.0048f145
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x22c]
call fcn.0048fe12
mov dword [ebp - 0x154], eax
movzx eax, byte [0xabb2a5]
test eax, eax
je 0x4976fc
mov ecx, 0xabb410
call fcn.004988e9
movzx eax, al
test eax, eax
jne 0x497719
lea eax, [ebp - 0x154]
push eax
mov ecx, 0xabb410
call fcn.004988f8
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0xabb2a5], 1
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x497733
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x9c]
jne 0x497733
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x22c]
call fcn.0040ab9d
jmp 0x49767d
cmp dword [ebp + 0x10], 0
jne 0x497763
cmp dword [ebp - 0x3c], 0xffffffff
je 0x497763
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x3c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x497dc8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x497dc3
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x28], edx
jae 0x497dc3
mov eax, dword [0xabb3b8]
and eax, 2
jne 0x4977e2
mov eax, dword [0xabb3b8]
or eax, 2
mov dword [0xabb3b8], eax
push 0x330d
call fcn.004098f2
pop ecx
mov byte [0xabb3c4], al
mov dword [ebp - 0x144], 0x2bf8
mov dword [ebp - 0x1a8], 0xaa8ac8
cmp dword [ebp - 0x144], 0x2fc0
jle 0x4978a4
and dword [ebp - 0xbc], 0
jmp 0x49781c
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x4be0
jge 0x49789c
and dword [ebp - 0x84], 0
jmp 0x49783e
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x24be
jge 0x497897
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x244]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a8d0
push eax
call fcn.0049b1a7
pop ecx
lea ecx, [ebp - 0x244]
call fcn.0040a8c6
jmp 0x497831
jmp 0x49780f
push 0
call dword [0xabd2c0]
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0x58
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 8
mov byte [ebp - 0x48], 9
mov byte [ebp - 0x47], 0xdd
mov byte [ebp - 0x46], 0x31
mov byte [ebp - 0x45], 0xdb
mov byte [ebp - 0x44], 0x6b
mov byte [ebp - 0x43], 0xc9
mov byte [ebp - 0x42], 0x16
mov byte [ebp - 0x41], 0x9b
mov byte [ebp - 0x40], 0x27
mov byte [ebp - 0x3f], 0xce
mov byte [ebp - 0x3e], 2
mov byte [ebp - 0x3d], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x4c]
or eax, 0x34
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
and ecx, 0x34
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x80], 0
jmp 0x497926
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x10
jae 0x4979ab
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x4c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x497960
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x4c]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x4c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x49791e
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x4b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x80]
movzx ecx, byte [ebp + ecx - 0x4e]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x4b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0x4e]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x80], 0
jmp 0x49791e
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x144], 0x2b6e
jge 0x4979d5
push dword [ebp - 0x1a8]
call fcn.0049b1a7
pop ecx
jmp 0x4979f1
or dword [ebp - 4], 0xffffffff
jmp 0x4979fb
mov eax, dword [0xabb3b8]
and eax, 4
jne 0x497a2b
mov eax, dword [0xabb3b8]
or eax, 4
mov dword [0xabb3b8], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0xabb430
call fcn.0048f145
push 0x4b1df4
call fcn.0049b17d
pop ecx
and dword [ebp - 0xa0], 0
jmp 0x497a41
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 4
jae 0x497b65
mov dword [ebp - 0x148], 0x474d
mov dword [ebp - 0x194], 0xaa8b1c
cmp dword [ebp - 0x148], 0x48c0
jle 0x497b10
and dword [ebp - 0x90], 0
jmp 0x497a88
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x935
jge 0x497b0a
and dword [ebp - 0x98], 0
jmp 0x497aaa
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x38ab
jge 0x497b05
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x98]
shl eax, cl
cdq
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2a4]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a8d0
push eax
call fcn.0049b1a7
pop ecx
lea ecx, [ebp - 0x2a4]
call fcn.0040a8c6
jmp 0x497a9d
jmp 0x497a7b
call dword [0xabd3e8]
mov eax, dword [ebp - 0xa0]
mov byte [ebp + eax - 0x38], 0
mov dword [ebp - 4], 6
cmp dword [ebp - 0x148], 0x4524
jge 0x497b3a
push dword [ebp - 0x194]
call fcn.0049b1a7
pop ecx
jmp 0x497b56
or dword [ebp - 4], 0xffffffff
jmp 0x497b60
jmp 0x497a34
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0xabb3c4]
cmp eax, ecx
je 0x497b85
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x497b6b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1e4]
call fcn.00498a90
push 0xabb430
lea ecx, [ebp - 0x1e4]
call fcn.0048f174
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040b589
push dword [eax]
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0040b575
push dword [eax]
lea ecx, [ebp - 0x214]
call fcn.00498ab9
lea eax, [ebp - 0x214]
push eax
call fcn.00492c37
pop ecx
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x497c6b
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1fc]
call fcn.0048f145
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x1fc]
call fcn.00491b14
movzx eax, al
test eax, eax
je 0x497c3f
push 0
push dword [ebp - 0x188]
push 0
push dword [ebp - 0x130]
call fcn.00496bb6
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x497c5b
push 1
push 0
lea eax, [ebp - 0x1fc]
push eax
push dword [ebp - 0x130]
call fcn.00496bb6
add esp, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1fc]
call fcn.0040ab9d
jmp 0x497dad
mov dword [ebp - 0x138], 0x49b2
mov dword [ebp - 0x1c0], 0xaa8b48
cmp dword [ebp - 0x138], 0x4d8f
jle 0x497d35
and dword [ebp - 0xa8], 0
jmp 0x497ca5
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x595d
jge 0x497d28
and dword [ebp - 0xb0], 0
jmp 0x497cc7
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x3951
jge 0x497d23
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [ebp - 0xb0]
mov eax, edx
cdq
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x25c]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a8d0
push eax
call fcn.0049b1a7
pop ecx
lea ecx, [ebp - 0x25c]
call fcn.0040a8c6
jmp 0x497cba
jmp 0x497c98
push 0
push 0x152f
call dword [0xabd498]
cmp dword [ebp + 0x10], 0
jne 0x497d4b
mov ecx, dword [ebp + 0xc]
call fcn.0040a8d0
mov dword [ebp - 0x150], eax
jmp 0x497d55
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x150]
push dword [ebp + 8]
call fcn.00496386
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x138], 0x4623
jge 0x497d87
push dword [ebp - 0x1c0]
call fcn.0049b1a7
pop ecx
jmp 0x497da3
or dword [ebp - 4], 0xffffffff
jmp 0x497dad
lea ecx, [ebp - 0x214]
call fcn.0040aa75
lea ecx, [ebp - 0x1e4]
call fcn.0040ab9d
mov eax, dword [ebp - 0x28]
jmp 0x497dca
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret