Function at 0x4181c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a7cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, edi
call fcn.00410080
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x36
je 0x4183dd
push esi
call fcn.004c9850
mov dword [ebp - 0x20], eax
lea eax, [esi + 1]
add esp, 4
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x418211
lea ecx, [ebp - 0x54]
call fcn.00473110
push esi
mov dword [ebp - 4], 0
call fcn.004c9f00
mov ebx, dword [ebp + 8]
add esp, 4
cmp eax, 1
jne 0x4182d2
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4183c7
push eax
call fcn.004d2180
add esp, 4
xor ecx, ecx
cmp eax, 0x10000000
sete cl
mov eax, ecx
test eax, eax
je 0x4183c7
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x2c]
push 0
push edx
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x10]
push ecx
lea ecx, [edx + 0x20c]
call fcn.004d2a60
test eax, eax
je 0x4183c7
push 0x39
lea ecx, [ebp - 0x54]
call fcn.00473450
push esi
lea ecx, [ebp - 0x54]
call fcn.004733d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004733d0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add edx, 0xfffffffb
lea ecx, [ebp - 0x54]
push edx
push eax
call fcn.004739d0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
neg ecx
mov esi, dword [edx + 0x40]
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x41836c
push esi
call fcn.004d21a0
add esp, 4
cmp eax, 0x5000000
jne 0x41836c
push esi
call fcn.004d2180
add esp, 4
cmp eax, 0x10000000
jne 0x41836c
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x41836c
push eax
call fcn.004d2180
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x41836c
push 0x39
lea ecx, [ebp - 0x54]
call fcn.00473450
push esi
lea ecx, [ebp - 0x54]
call fcn.004733d0
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x54]
mov eax, dword [edx + 8]
push eax
call fcn.004733d0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, 0xfffffffb
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004739d0
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx + 4]
push 0
neg eax
sbb eax, eax
add ecx, 0x34
and eax, edx
mov dword [ebp - 0x14], eax
call fcn.004d22a0
mov esi, eax
test esi, esi
je 0x4183c7
push esi
call fcn.004d21a0
add esp, 4
cmp eax, 0x5000000
je 0x41862e
cmp eax, 0x2000000
jne 0x4183c7
mov ecx, dword [ebp - 0x10]
push 0x10001
call fcn.00418150
test eax, eax
je 0x4183c7
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push 0
push ecx
push esi
lea ecx, [edx + 0x244]
call fcn.004d2a60
test eax, eax
jne 0x4183f3
push 0x2732
push 0x59a438
call fcn.0046ad90
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x54d7d0
lea ecx, [ebp - 0x54]
call fcn.00473310
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0x39
jne 0x418427
mov eax, ecx
mov ecx, dword [eax + 1]
push ecx
call fcn.004d2170
add esp, 4
cmp eax, 0x15000000
jne 0x418424
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 1]
lea eax, [edx + 1]
add eax, 8
mov dword [ebp - 0x14], eax
jmp 0x418631
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x418453
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 4], 6
mov dword [edi + 8], 0x10001
lea ecx, [eax + 0x14]
mov dword [edi + 0x10], esi
call fcn.004d22a0
mov dword [edi + 0x14], eax
jmp 0x419282
cmp al, 0x39
jne 0x4183c7
mov ebx, dword [ecx + 1]
inc ecx
test ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x10], ebx
je 0x4183c7
add ecx, 8
push ebx
mov dword [ebp - 0x14], ecx
call fcn.004d21a0
add esp, 4
cmp eax, 0x6000000
jne 0x4184e8
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ebx
add ecx, 0x14
mov dword [ebp + 8], ebx
call fcn.004d2340
test eax, eax
je 0x4183c7
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00418150
test eax, eax
je 0x4183c7
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x4184d2
mov edx, dword [ebp + 0x10]
mov dword [edi + 4], 6
mov dword [edi + 8], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], edx
jmp 0x419282
inc ecx
cmp al, 0x39
jne 0x4183c7
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], ecx
jmp 0x418524
mov ecx, dword [ebp + 0xc]
push 0
push 0
add ecx, 0x14
call fcn.004d2250
mov ebx, eax
test ebx, ebx
je 0x4183c7
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [edx + 0x14]
call fcn.004d22a0
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ebp + 8], eax
call fcn.00418150
test eax, eax
je 0x4183c7
mov eax, dword [ebp + 0x10]
push eax
call fcn.004d21a0
add esp, 4
test eax, eax
jne 0x4183c7
clc
jae 0x41853c
mov edx, 0x8b084d8b
push ebp
adc byte [ebp + 0x4f891445], cl
adc al, 0x8b
dec ebp
invalid
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x10]
dec edx
push eax
push ebx
mov dword [edi + 4], 6
mov dword [edi + 0x10], esi
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], ebx
call fcn.00450780
mov ebx, eax
mov eax, dword [edi + 0x20]
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*4]
mov ecx, dword [ebp - 0x10]
call fcn.0044ffa0
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.004de2b0
add esp, 0xc
test eax, eax
jne 0x418599
mov ecx, dword [esi]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
push ecx
push edx
jmp 0x4190c1
movsx edx, word [esi + 0xc]
push edx
call fcn.004ddbf0
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x4183c7
mov esi, dword [ebp - 0x14]
cmp eax, 0x10004
jne 0x418620
mov al, byte [esi]
cmp al, 0x37
je 0x418620
cmp al, 0x39
jne 0x4183c7
cmp byte [esi + 9], 0x37
jne 0x4183c7
mov eax, dword [esi + 1]
push eax
call fcn.004d21a0
add esp, 4
test eax, eax
jne 0x4183c7
mov ecx, dword [esi + 1]
mov edx, dword [edi + 8]
dec ecx
push eax
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00450780
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0x34]
lea edx, [ecx*8]
sub edx, ecx
mov esi, dword [eax + edx*4]
lea ebx, [eax + edx*4]
mov ecx, esi
shr ecx, 0x10
jne 0x41918a
jmp 0x419179
cmp byte [esi], 0x37
jne 0x4183c7
jmp 0x419282
mov eax, dword [ebp - 0x14]
cmp esi, 0x500fffe
mov byte [ebp - 0x40], 1
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0
je 0x418841
push esi
call fcn.004d2180
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x41878a
cmp eax, 0x10000000
je 0x41870b
cmp eax, 0x20000000
jne 0x4183c7
mov ecx, dword [ebx + 4]
push 0
push 0
push esi
add ecx, 0x14
call fcn.004d2340
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4186ff
mov ecx, dword [ebx + 4]
push eax
push eax
push esi
add ecx, 0x34
call fcn.004d2340
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4183c7
mov dword [edi + 4], 2
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004180f0
cmp eax, 0xffffffff
mov dword [edi + 0x18], eax
je 0x4183c7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00416050
test eax, eax
je 0x4186e6
mov dword [edi + 0x1c], 1
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 8
je 0x4187a7
mov dword [ebp - 0x28], 1
jmp 0x4187a7
mov dword [edi + 4], 3
jmp 0x4187a7
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], 4
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x34]
lea edi, [ecx + 0x20c]
push 0
mov ecx, dword [eax + 8]
push edx
push ecx
mov ecx, edi
call fcn.004d2a60
test eax, eax
je 0x4183c7
mov edx, dword [ebp - 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004d2340
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4187b2
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.004d29c0
test eax, eax
je 0x4187a7
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x418751
push 0
push 0
push esi
lea ecx, [eax + 0xc]
call fcn.004d2340
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4187b2
jmp 0x418751
mov edx, dword [ebp - 0x10]
push 0
push 0
push esi
lea ecx, [edx + 0x1d0]
mov dword [edi + 4], 4
call fcn.004d2340
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4183c7
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.00418150
test eax, eax
je 0x4183c7
mov eax, dword [ebp + 0xc]
lea edi, [eax + 6]
mov eax, dword [ebp - 0x28]
cmp eax, 1
jne 0x4187d9
lea edi, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push edi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410620
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 8], edx
call fcn.004c9830
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
cmp eax, 4
jne 0x418821
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push esi
call fcn.004108f0
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
jmp 0x418920
cmp eax, 3
jne 0x418920
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
push esi
call fcn.00411060
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
jmp 0x418920
cmp byte [eax], 0x3a
jne 0x4183c7
cmp byte [eax + 1], 0x21
jne 0x4183c7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, 2
push 0
push edi
push eax
push ebx
mov dword [ebp - 0x14], eax
call fcn.00415360
mov esi, eax
cmp esi, 0xffffffff
je 0x4183c7
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.00419c60
mov eax, dword [ebp - 0x14]
mov edi, dword [edi + 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
call fcn.00418150
test eax, eax
je 0x4183c7
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
mov edi, dword [edx + 0xc]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp + 8], edi
je 0x418923
cmp byte [esi], 0x37
je 0x418923
push 0x50
call fcn.0051a4c6
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
xor eax, eax
mov byte [ebp - 4], 1
cmp esi, eax
je 0x4188e7
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00410080
mov dword [ebp + 0xc], esi
jmp 0x4188ea
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, 0x14
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 0
cmp ecx, 5
jne 0x418911
mov ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00415210
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.004733d0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
inc esi
cmp al, 0x37
mov byte [ebp + 0xf], al
mov dword [ebp - 0x14], esi
je 0x419282
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 7
push 1
push eax
push ebx
call fcn.0041c530
cmp eax, 0xffffffff
je 0x4183c7
jmp 0x418955
push edi
call fcn.004c9830
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xf]
add esp, 4
cmp al, 0x39
jne 0x418b13
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
push edi
call fcn.004de8e0
add esp, 4
test edi, edi
je 0x4183c7
cmp eax, 1
je 0x4183c7
cmp dword [ebp + 8], 1
je 0x4183c7
mov ecx, dword [esi]
mov dl, byte [esi + 8]
add esi, 8
mov dword [ebp - 0x28], ecx
inc esi
cmp eax, 2
mov byte [ebp + 0xf], dl
mov dword [ebp - 0x14], esi
mov dword [ebp + 8], 0
jne 0x418a6c
push edi
call fcn.004ddaa0
add esp, 4
cmp eax, 3
push 0
jne 0x4189ec
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
push edi
add ecx, 0x20c
call fcn.004d2a60
test eax, eax
je 0x4183c7
mov edx, dword [ebp - 0x38]
jmp 0x418a0a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push edi
add ecx, 0x1b4
call fcn.004d2a60
test eax, eax
je 0x4183c7
mov edx, dword [ebp - 0x1c]
add edx, 0xc
xor esi, esi
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
push 0
push esi
call fcn.004d2250
test eax, eax
je 0x41902e
mov ecx, dword [eax]
push esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
lea edi, [eax + 6]
call fcn.004d22a0
cmp eax, dword [ebp - 0x28]
je 0x418a53
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410620
mov ecx, dword [ebp + 8]
add ecx, eax
inc esi
mov dword [ebp + 8], ecx
jmp 0x418a12
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00418150
test eax, eax
je 0x4183c7
jmp 0x418f06
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00450780
test eax, eax
mov dword [ebp - 0x24], eax
je 0x4183c7
mov edx, dword [ebp - 0x28]
cmp edi, 0x10003
lea ecx, [edx - 1]
mov dword [ebp - 0x28], ecx
je 0x419038
test dword [eax + 0x14], 0x800040
jne 0x419038
test ecx, ecx
jl 0x4183c7
cmp ecx, dword [eax + 0x30]
jge 0x4183c7
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov edx, eax
shr edx, 0x10
jne 0x418ad5
mov edx, dword [ebp - 0x18]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ecx
je 0x418af7
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00410620
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add edx, eax
add esi, 0x1c
mov dword [ebp + 8], edx
inc edi
jmp 0x418abc
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.00418150
test eax, eax
je 0x4183c7
mov edi, dword [esi + 4]
jmp 0x418f06
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
cmp eax, 0x80000005
mov eax, dword [ebp + 8]
jne 0x418b34
test eax, eax
jne 0x418b3c
mov dword [ebp - 0x18], 0x80000101
jmp 0x418b3c
test eax, eax
je 0x4183c7
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.00473110
mov dword [ebp - 0x68], 0x54d910
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 2
cmp al, 0x3a
jne 0x418cbe
push esi
lea ecx, [ebp - 0x68]
call fcn.004733d0
mov al, byte [esi]
cmp al, 0x21
je 0x418b95
cmp al, 0x38
je 0x418b82
cmp al, 0x3b
jne 0x4191d1
add esi, 5
jmp 0x418ba7
mov edi, 1
push esi
mov dword [ebp - 0x28], edi
call fcn.004c9850
add esp, 4
jmp 0x418ba5
inc esi
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.004ca150
add esi, eax
mov eax, dword [ebp - 0x24]
inc eax
inc esi
mov dword [ebp - 0x24], eax
mov al, byte [esi - 1]
cmp al, 0x3a
mov byte [ebp + 0xf], al
mov dword [ebp - 0x14], esi
je 0x418b62
cmp dword [ebp - 0x24], 0x7f
jge 0x4191bf
mov ecx, dword [ebp - 0x24]
mov eax, 1
cmp ecx, eax
jne 0x418cbe
mov ecx, dword [ebx + 8]
cmp dword [ecx + 4], 3
jne 0x418c41
cmp dword [0x599938], eax
jne 0x418c41
lea esi, [ebx + 0xc]
push 0xc1410b8b
mov ecx, esi
call fcn.004733d0
push 0xd90302e1
mov ecx, esi
call fcn.004733d0
test edi, edi
je 0x418c0f
push 0x53
mov ecx, esi
call fcn.00473450
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00419300
cmp eax, 0xffffffff
je 0x4191d1
test edi, edi
je 0x418e9f
push 0x5b
mov ecx, esi
call fcn.00473450
jmp 0x418e9f
push 0x20
push 0x586b40
push 9
call fcn.00410870
push 9
mov ecx, ebx
call fcn.00411010
test edi, edi
je 0x418c69
push 0x5153
lea ecx, [ebx + 0xc]
call fcn.00473410
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00419300
cmp eax, 0xffffffff
je 0x4191d1
test edi, edi
je 0x418c96
push 0x5b59
lea ecx, [ebx + 0xc]
call fcn.00473410
lea esi, [ebx + 0xc]
push 0x7cc13b
mov ecx, esi
call fcn.004733d0
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.00410e50
push edi
mov ecx, ebx
call fcn.00410fe0
jmp 0x418e9f
clc
jae 0x418cc2
jne 0x6a4c01c6
test edi, edi
je 0x418cd0
push 0x53
push ebx
lea ecx, [ebx + 0xc]
call fcn.00473450
mov esi, dword [ebp - 0x24]
push 1
mov ecx, ebx
lea edx, [esi*4 - 4]
push edx
call fcn.00410e70
dec esi
mov dword [ebp + 8], eax
test esi, esi
jl 0x418d2d
xor edi, edi
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x10]
push edx
push ebx
call fcn.00419300
cmp eax, 0xffffffff
je 0x4191d1
test esi, esi
je 0x418d27
mov edx, dword [ebp + 8]
mov eax, edi
push 1
push 1
sub eax, edx
push 1
push eax
mov ecx, ebx
call fcn.00416450
add edi, 4
dec esi
jns 0x418cee
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x418d3b
push 0x5b
lea ecx, [ebx + 0xc]
call fcn.00473450
lea esi, [ebx + 0xc]
push 0xb8b
mov ecx, esi
call fcn.00473410
push 0x8304c383
mov ecx, esi
call fcn.004733d0
push 0xf9
mov ecx, esi
call fcn.00473450
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.00473450
push 0x74
mov ecx, esi
call fcn.00473410
mov edi, dword [ebx + 0x1c]
push 3
mov ecx, ebx
call fcn.00410e50
push edi
mov ecx, ebx
call fcn.00410fe0
push 0xd233
mov ecx, esi
call fcn.00473410
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [eax + 4], 3
jne 0x418dae
mov eax, dword [0x599938]
test eax, eax
jne 0x418dd7
push 0x33b
mov ecx, esi
call fcn.00473410
push 0x7c
mov ecx, esi
call fcn.00473410
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.00410e50
push edi
mov ecx, ebx
call fcn.00410fe0
push 0x4904c383
mov ecx, esi
call fcn.004733d0
push 0x74
mov ecx, esi
call fcn.00473410
mov ecx, dword [ebx + 0x1c]
push 0x14
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 8]
push 0x586b60
push 0xa
call fcn.00410870
push 0xa
mov ecx, ebx
call fcn.00411010
mov edx, dword [ebp + 8]
push 0x8b
add edx, 4
mov ecx, esi
mov dword [ebp + 8], edx
call fcn.00473450
mov edi, dword [ebp + 8]
neg edi
cmp edi, 0xffffff80
jl 0x418e5a
cmp edi, 0x7f
jg 0x418e5a
push 0x8d44
mov ecx, esi
call fcn.00473410
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xd0]
push eax
call fcn.004733d0
mov eax, dword [ebp + 8]
mov ecx, esi
neg al
push eax
call fcn.00473450
jmp 0x418e7d
push 0x8d84
mov ecx, esi
call fcn.00473410
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xbc]
push eax
call fcn.004733d0
push edi
mov ecx, esi
call fcn.004733d0
mov eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040ffc0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.00410fe0
push 0xc203
mov ecx, esi
call fcn.00473410
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00410650
mov edi, eax
cmp edi, 1
je 0x418ee2
cmp edi, 2
jne 0x418ec5
push 0xe0d1
mov ecx, esi
call fcn.00473410
jmp 0x418ee2
push 0xe0c1
mov ecx, esi
call fcn.00473410
cmp edi, 4
mov ecx, esi
setne al
add eax, 2
push eax
call fcn.00473450
push 0xd803
mov ecx, esi
call fcn.00473410
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], 0x54d7d0
call fcn.00473310
cmp byte [ebp + 0xf], 0x37
je 0x4191f4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x418f2d
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410650
test al, 3
jne 0x4183c7
jmp 0x418f3a
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410620
shr eax, 2
cmp eax, 1
jl 0x4183c7
cmp eax, 3
jge 0x4183c7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x418ff8
cmp eax, 2
jne 0x418faa
lea eax, [ecx + 4]
cmp eax, 0xffffff80
mov dword [ebp - 0x30], eax
jl 0x418f8d
cmp eax, 0x7f
jg 0x418f8d
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00473410
mov al, byte [ebp + 8]
mov ecx, esi
add al, 4
push eax
or byte [ebx + 0x500404ce], cl
call fcn.00473450
jmp 0x418fa7
lea esi, [ebx + 0xc]
push 0x938b
mov ecx, esi
call fcn.00473410
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.004733d0
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffff80
jl 0x418fd6
cmp ecx, 0x7f
jg 0x418fd6
lea esi, [ebx + 0xc]
push 0x5b8b
mov ecx, esi
call fcn.00473410
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.00473450
mov esi, dword [ebp - 0x14]
jmp 0x418955
lea esi, [ebx + 0xc]
push 0x9b8b
mov ecx, esi
call fcn.00473410
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.004733d0
mov esi, dword [ebp - 0x14]
jmp 0x418955
stc
jb 0x418ffc
js 0x418f80
cmp eax, 2
jne 0x419019
clc
add dh, byte [ebp + 0x18]
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00473410
push 4
mov ecx, esi
call fcn.00473450
push 0x1b8b
lea ecx, [ebx + 0xc]
call fcn.00473410
mov esi, dword [ebp - 0x14]
jmp 0x418955
push 0x2733
jmp 0x4183ba
test ecx, ecx
jl 0x4183c7
cmp ecx, dword [eax + 0x24]
jge 0x4183c7
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00410080
push 1
push 8
mov ecx, ebx
call fcn.00410e70
mov dword [ebp + 0x10], eax
mov dword [edi + 0x18], eax
push 1
push 2
neg eax
push 1
push eax
mov ecx, ebx
call fcn.00416450
mov edx, dword [ebp + 0x10]
mov ecx, 4
push 1
push 8
sub ecx, edx
push 1
push ecx
mov ecx, ebx
call fcn.00416450
mov eax, dword [ebp - 0x28]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x28]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebp - 0x10]
call fcn.0044ffa0
mov edx, dword [ebp - 0x34]
push eax
push ebx
push edx
call fcn.004de2b0
add esp, 0xc
test eax, eax
jne 0x4190dc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
mov ecx, dword [eax + 0x24]
push ecx
push 0x2776
push 0x59a438
call fcn.0046ad90
add esp, 0x14
jmp 0x4183c7
movsx edx, word [ebx + 0xc]
push edx
call fcn.004ddbf0
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
je 0x4183c7
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp eax, 0x10004
mov al, byte [ebp + 0xf]
mov dword [edi + 4], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
jne 0x4191b2
cmp al, 0x37
je 0x419282
cmp al, 0x39
jne 0x4183c7
cmp byte [esi + 8], 0x37
jne 0x4183c7
mov eax, dword [esi]
push eax
call fcn.004d21a0
add esp, 4
test eax, eax
jne 0x4183c7
mov ecx, dword [esi]
mov edx, dword [edi + 8]
dec ecx
push ebx
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00450780
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0x34]
lea edx, [ecx*8]
sub edx, ecx
mov esi, dword [eax + edx*4]
lea ebx, [eax + edx*4]
mov ecx, esi
shr ecx, 0x10
jne 0x41918a
mov edx, dword [edi + 8]
and esi, 0xffff
shr edx, 0x10
shl edx, 0x10
or esi, edx
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00418150
test eax, eax
je 0x4183c7
mov dword [edi + 8], esi
mov eax, dword [ebx + 4]
push eax
call fcn.004c9830
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x419282
cmp al, 0x37
je 0x419282
jmp 0x4183c7
push 0x2734
push 0x59a438
call fcn.0046ad90
add esp, 8
mov esi, 0x54d7d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], esi
call fcn.00473310
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], esi
jmp 0x4183d5
mov eax, dword [ebp + 8]
test eax, eax
je 0x41923b
cmp eax, 0xffffff80
jl 0x419221
cmp eax, 0x7f
jg 0x419221
lea esi, [ebx + 0xc]
push 0xc383
mov ecx, esi
call fcn.00473410
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00473450
jmp 0x41923b
lea esi, [ebx + 0xc]
push 0xc381
mov ecx, esi
call fcn.00473410
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.004733d0
push 1
push 4
mov ecx, ebx
call fcn.00410e70
mov esi, eax
push 1
push 2
push 1
neg eax
push eax
mov ecx, ebx
call fcn.00416450
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.00410080
mov ecx, dword [ebp - 0x18]
mov eax, 1
push edi
mov dword [ebx + 4], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 8], ecx
call fcn.004c9830
add esp, 4
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x54d7d0
call fcn.00473310
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10