Function at 0x418320
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ab8b
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.004101e0
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x36
je 0x41853d
push esi
call fcn.004c9be0
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 0x418371
lea ecx, [ebp - 0x54]
call fcn.00473490
push esi
mov dword [ebp - 4], 0
call fcn.004ca290
mov ebx, dword [ebp + 8]
add esp, 4
cmp eax, 1
jne 0x418432
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x418527
push eax
call fcn.004d2510
add esp, 4
xor ecx, ecx
cmp eax, 0x10000000
sete cl
mov eax, ecx
test eax, eax
je 0x418527
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.004d2df0
test eax, eax
je 0x418527
push 0x39
lea ecx, [ebp - 0x54]
call fcn.004737d0
push esi
lea ecx, [ebp - 0x54]
call fcn.00473750
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00473750
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add edx, 0xfffffffb
lea ecx, [ebp - 0x54]
push edx
push eax
call fcn.00473d50
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 0x4184cc
push esi
call fcn.004d2530
add esp, 4
cmp eax, 0x5000000
jne 0x4184cc
push esi
call fcn.004d2510
add esp, 4
cmp eax, 0x10000000
jne 0x4184cc
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4184cc
push eax
call fcn.004d2510
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x4184cc
push 0x39
lea ecx, [ebp - 0x54]
call fcn.004737d0
push esi
lea ecx, [ebp - 0x54]
call fcn.00473750
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x54]
mov eax, dword [edx + 8]
push eax
call fcn.00473750
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, 0xfffffffb
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00473d50
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.004d2630
mov esi, eax
test esi, esi
je 0x418527
push esi
call fcn.004d2530
add esp, 4
cmp eax, 0x5000000
je 0x41878e
cmp eax, 0x2000000
jne 0x418527
mov ecx, dword [ebp - 0x10]
push 0x10001
call fcn.004182b0
test eax, eax
je 0x418527
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push 0
push ecx
push esi
lea ecx, [edx + 0x244]
call fcn.004d2df0
test eax, eax
jne 0x418553
push 0x2732
push 0x59a4d0
call fcn.0046b110
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x54d7d0
lea ecx, [ebp - 0x54]
call fcn.00473690
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 0x418587
mov eax, ecx
mov ecx, dword [eax + 1]
push ecx
call fcn.004d2500
add esp, 4
cmp eax, 0x15000000
jne 0x418584
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 1]
lea eax, [edx + 1]
add eax, 8
mov dword [ebp - 0x14], eax
jmp 0x418791
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x4185b3
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.004d2630
mov dword [edi + 0x14], eax
jmp 0x4193e2
cmp al, 0x39
jne 0x418527
mov ebx, dword [ecx + 1]
inc ecx
test ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x10], ebx
je 0x418527
add ecx, 8
push ebx
mov dword [ebp - 0x14], ecx
call fcn.004d2530
add esp, 4
cmp eax, 0x6000000
jne 0x418648
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ebx
add ecx, 0x14
mov dword [ebp + 8], ebx
call fcn.004d26d0
test eax, eax
je 0x418527
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004182b0
test eax, eax
je 0x418527
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x418632
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 0x4193e2
inc ecx
cmp al, 0x39
jne 0x418527
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], ecx
jmp 0x418684
mov ecx, dword [ebp + 0xc]
push 0
push 0
add ecx, 0x14
call fcn.004d25e0
mov ebx, eax
test ebx, ebx
je 0x418527
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [edx + 0x14]
call fcn.004d2630
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ebp + 8], eax
call fcn.004182b0
test eax, eax
je 0x418527
mov eax, dword [ebp + 0x10]
push eax
call fcn.004d2530
add esp, 4
test eax, eax
jne 0x418527
clc
jae 0x41869c
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.00450af0
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.00450310
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.004de640
add esp, 0xc
test eax, eax
jne 0x4186f9
mov ecx, dword [esi]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
push ecx
push edx
jmp 0x419221
movsx edx, word [esi + 0xc]
push edx
call fcn.004ddf80
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x418527
mov esi, dword [ebp - 0x14]
cmp eax, 0x10004
jne 0x418780
mov al, byte [esi]
cmp al, 0x37
je 0x418780
cmp al, 0x39
jne 0x418527
cmp byte [esi + 9], 0x37
jne 0x418527
mov eax, dword [esi + 1]
push eax
call fcn.004d2530
add esp, 4
test eax, eax
jne 0x418527
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.00450af0
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 0x4192ea
jmp 0x4192d9
cmp byte [esi], 0x37
jne 0x418527
jmp 0x4193e2
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 0x4189a1
push esi
call fcn.004d2510
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x4188ea
cmp eax, 0x10000000
je 0x41886b
cmp eax, 0x20000000
jne 0x418527
mov ecx, dword [ebx + 4]
push 0
push 0
push esi
add ecx, 0x14
call fcn.004d26d0
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x41885f
mov ecx, dword [ebx + 4]
push eax
push eax
push esi
add ecx, 0x34
call fcn.004d26d0
test eax, eax
mov dword [ebp + 0xc], eax
je 0x418527
mov dword [edi + 4], 2
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00418250
cmp eax, 0xffffffff
mov dword [edi + 0x18], eax
je 0x418527
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.004161b0
test eax, eax
je 0x418846
mov dword [edi + 0x1c], 1
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 8
je 0x418907
mov dword [ebp - 0x28], 1
jmp 0x418907
mov dword [edi + 4], 3
jmp 0x418907
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.004d2df0
test eax, eax
je 0x418527
mov edx, dword [ebp - 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004d26d0
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x418912
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.004d2d50
test eax, eax
je 0x418907
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x4188b1
push 0
push 0
push esi
lea ecx, [eax + 0xc]
call fcn.004d26d0
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x418912
jmp 0x4188b1
mov edx, dword [ebp - 0x10]
push 0
push 0
push esi
lea ecx, [edx + 0x1d0]
mov dword [edi + 4], 4
call fcn.004d26d0
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x418527
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.004182b0
test eax, eax
je 0x418527
mov eax, dword [ebp + 0xc]
lea edi, [eax + 6]
mov eax, dword [ebp - 0x28]
cmp eax, 1
jne 0x418939
lea edi, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push edi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410780
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 8], edx
call fcn.004c9bc0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
cmp eax, 4
jne 0x418981
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push esi
call fcn.00410a50
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
jmp 0x418a80
cmp eax, 3
jne 0x418a80
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
push esi
call fcn.004111c0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
jmp 0x418a80
cmp byte [eax], 0x3a
jne 0x418527
cmp byte [eax + 1], 0x21
jne 0x418527
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.004154c0
mov esi, eax
cmp esi, 0xffffffff
je 0x418527
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.00419dc0
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.004182b0
test eax, eax
je 0x418527
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 0x418a83
cmp byte [esi], 0x37
je 0x418a83
push 0x50
call fcn.0051a826
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
xor eax, eax
mov byte [ebp - 4], 1
cmp esi, eax
je 0x418a47
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.004101e0
mov dword [ebp + 0xc], esi
jmp 0x418a4a
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 0x418a71
mov ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00415370
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00473750
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 0x4193e2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 7
push 1
push eax
push ebx
call fcn.0041c690
cmp eax, 0xffffffff
je 0x418527
jmp 0x418ab5
push edi
call fcn.004c9bc0
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xf]
add esp, 4
cmp al, 0x39
jne 0x418c73
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
push edi
call fcn.004dec70
add esp, 4
test edi, edi
je 0x418527
cmp eax, 1
je 0x418527
cmp dword [ebp + 8], 1
je 0x418527
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 0x418bcc
push edi
call fcn.004dde30
add esp, 4
cmp eax, 3
push 0
jne 0x418b4c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
push edi
add ecx, 0x20c
call fcn.004d2df0
test eax, eax
je 0x418527
mov edx, dword [ebp - 0x38]
jmp 0x418b6a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push edi
add ecx, 0x1b4
call fcn.004d2df0
test eax, eax
je 0x418527
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.004d25e0
test eax, eax
je 0x41918e
mov ecx, dword [eax]
push esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
lea edi, [eax + 6]
call fcn.004d2630
cmp eax, dword [ebp - 0x28]
je 0x418bb3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410780
mov ecx, dword [ebp + 8]
add ecx, eax
inc esi
mov dword [ebp + 8], ecx
jmp 0x418b72
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004182b0
test eax, eax
je 0x418527
jmp 0x419066
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00450af0
test eax, eax
mov dword [ebp - 0x24], eax
je 0x418527
mov edx, dword [ebp - 0x28]
cmp edi, 0x10003
lea ecx, [edx - 1]
mov dword [ebp - 0x28], ecx
je 0x419198
test dword [eax + 0x14], 0x800040
jne 0x419198
test ecx, ecx
jl 0x418527
cmp ecx, dword [eax + 0x30]
jge 0x418527
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov edx, eax
shr edx, 0x10
jne 0x418c35
mov edx, dword [ebp - 0x18]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ecx
je 0x418c57
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00410780
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add edx, eax
add esi, 0x1c
mov dword [ebp + 8], edx
inc edi
jmp 0x418c1c
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.004182b0
test eax, eax
je 0x418527
mov edi, dword [esi + 4]
jmp 0x419066
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
cmp eax, 0x80000005
mov eax, dword [ebp + 8]
jne 0x418c94
test eax, eax
jne 0x418c9c
mov dword [ebp - 0x18], 0x80000101
jmp 0x418c9c
test eax, eax
je 0x418527
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.00473490
mov dword [ebp - 0x68], 0x54d910
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 2
cmp al, 0x3a
jne 0x418e1e
push esi
lea ecx, [ebp - 0x68]
call fcn.00473750
mov al, byte [esi]
cmp al, 0x21
je 0x418cf5
cmp al, 0x38
je 0x418ce2
cmp al, 0x3b
jne 0x419331
add esi, 5
jmp 0x418d07
mov edi, 1
push esi
mov dword [ebp - 0x28], edi
call fcn.004c9be0
add esp, 4
jmp 0x418d05
inc esi
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.004ca4e0
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 0x418cc2
cmp dword [ebp - 0x24], 0x7f
jge 0x41931f
mov ecx, dword [ebp - 0x24]
mov eax, 1
cmp ecx, eax
jne 0x418e1e
mov ecx, dword [ebx + 8]
cmp dword [ecx + 4], 3
jne 0x418da1
cmp dword [0x5999d0], eax
jne 0x418da1
lea esi, [ebx + 0xc]
push 0xc1410b8b
mov ecx, esi
call fcn.00473750
push 0xd90302e1
mov ecx, esi
call fcn.00473750
test edi, edi
je 0x418d6f
push 0x53
mov ecx, esi
call fcn.004737d0
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.00419460
cmp eax, 0xffffffff
je 0x419331
test edi, edi
je 0x418fff
push 0x5b
mov ecx, esi
call fcn.004737d0
jmp 0x418fff
push 0x20
push 0x586b40
push 9
call fcn.004109d0
push 9
mov ecx, ebx
call fcn.00411170
test edi, edi
je 0x418dc9
push 0x5153
lea ecx, [ebx + 0xc]
call fcn.00473790
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.00419460
cmp eax, 0xffffffff
je 0x419331
test edi, edi
je 0x418df6
push 0x5b59
lea ecx, [ebx + 0xc]
call fcn.00473790
lea esi, [ebx + 0xc]
push 0x7cc13b
mov ecx, esi
call fcn.00473750
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.00410fb0
push edi
mov ecx, ebx
call fcn.00411140
jmp 0x418fff
clc
jae 0x418e22
jne 0x6a4c0326
test edi, edi
je 0x418e30
push 0x53
push ebx
lea ecx, [ebx + 0xc]
call fcn.004737d0
mov esi, dword [ebp - 0x24]
push 1
mov ecx, ebx
lea edx, [esi*4 - 4]
push edx
call fcn.00410fd0
dec esi
mov dword [ebp + 8], eax
test esi, esi
jl 0x418e8d
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.00419460
cmp eax, 0xffffffff
je 0x419331
test esi, esi
je 0x418e87
mov edx, dword [ebp + 8]
mov eax, edi
push 1
push 1
sub eax, edx
push 1
push eax
mov ecx, ebx
call fcn.004165b0
add edi, 4
dec esi
jns 0x418e4e
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x418e9b
push 0x5b
lea ecx, [ebx + 0xc]
call fcn.004737d0
lea esi, [ebx + 0xc]
push 0xb8b
mov ecx, esi
call fcn.00473790
push 0x8304c383
mov ecx, esi
call fcn.00473750
push 0xf9
mov ecx, esi
call fcn.004737d0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.004737d0
push 0x74
mov ecx, esi
call fcn.00473790
mov edi, dword [ebx + 0x1c]
push 3
mov ecx, ebx
call fcn.00410fb0
push edi
mov ecx, ebx
call fcn.00411140
push 0xd233
mov ecx, esi
call fcn.00473790
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [eax + 4], 3
jne 0x418f0e
mov eax, dword [0x5999d0]
test eax, eax
jne 0x418f37
push 0x33b
mov ecx, esi
call fcn.00473790
push 0x7c
mov ecx, esi
call fcn.00473790
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.00410fb0
push edi
mov ecx, ebx
call fcn.00411140
push 0x4904c383
mov ecx, esi
call fcn.00473750
push 0x74
mov ecx, esi
call fcn.00473790
mov ecx, dword [ebx + 0x1c]
push 0x14
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 8]
push 0x586b60
push 0xa
call fcn.004109d0
push 0xa
mov ecx, ebx
call fcn.00411170
mov edx, dword [ebp + 8]
push 0x8b
add edx, 4
mov ecx, esi
mov dword [ebp + 8], edx
call fcn.004737d0
mov edi, dword [ebp + 8]
neg edi
cmp edi, 0xffffff80
jl 0x418fba
cmp edi, 0x7f
jg 0x418fba
push 0x8d44
mov ecx, esi
call fcn.00473790
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xd0]
push eax
call fcn.00473750
mov eax, dword [ebp + 8]
mov ecx, esi
neg al
push eax
call fcn.004737d0
jmp 0x418fdd
push 0x8d84
mov ecx, esi
call fcn.00473790
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xbc]
push eax
call fcn.00473750
push edi
mov ecx, esi
call fcn.00473750
mov eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00410120
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.00411140
push 0xc203
mov ecx, esi
call fcn.00473790
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.004107b0
mov edi, eax
cmp edi, 1
je 0x419042
cmp edi, 2
jne 0x419025
push 0xe0d1
mov ecx, esi
call fcn.00473790
jmp 0x419042
push 0xe0c1
mov ecx, esi
call fcn.00473790
cmp edi, 4
mov ecx, esi
setne al
add eax, 2
push eax
call fcn.004737d0
push 0xd803
mov ecx, esi
call fcn.00473790
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], 0x54d7d0
call fcn.00473690
cmp byte [ebp + 0xf], 0x37
je 0x419354
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41908d
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004107b0
test al, 3
jne 0x418527
jmp 0x41909a
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410780
shr eax, 2
cmp eax, 1
jl 0x418527
cmp eax, 3
jge 0x418527
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x419158
cmp eax, 2
jne 0x41910a
lea eax, [ecx + 4]
cmp eax, 0xffffff80
mov dword [ebp - 0x30], eax
jl 0x4190ed
cmp eax, 0x7f
jg 0x4190ed
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00473790
mov al, byte [ebp + 8]
mov ecx, esi
add al, 4
push eax
or byte [ebx + 0x500404ce], cl
call fcn.004737d0
jmp 0x419107
lea esi, [ebx + 0xc]
push 0x938b
mov ecx, esi
call fcn.00473790
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00473750
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffff80
jl 0x419136
cmp ecx, 0x7f
jg 0x419136
lea esi, [ebx + 0xc]
push 0x5b8b
mov ecx, esi
call fcn.00473790
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.004737d0
mov esi, dword [ebp - 0x14]
jmp 0x418ab5
lea esi, [ebx + 0xc]
push 0x9b8b
mov ecx, esi
call fcn.00473790
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00473750
mov esi, dword [ebp - 0x14]
jmp 0x418ab5
stc
jb 0x41915c
js 0x4190e0
cmp eax, 2
jne 0x419179
clc
add dh, byte [ebp + 0x18]
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00473790
push 4
mov ecx, esi
call fcn.004737d0
push 0x1b8b
lea ecx, [ebx + 0xc]
call fcn.00473790
mov esi, dword [ebp - 0x14]
jmp 0x418ab5
push 0x2733
jmp 0x41851a
test ecx, ecx
jl 0x418527
cmp ecx, dword [eax + 0x24]
jge 0x418527
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004101e0
push 1
push 8
mov ecx, ebx
call fcn.00410fd0
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.004165b0
mov edx, dword [ebp + 0x10]
mov ecx, 4
push 1
push 8
sub ecx, edx
push 1
push ecx
mov ecx, ebx
call fcn.004165b0
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.00450310
mov edx, dword [ebp - 0x34]
push eax
push ebx
push edx
call fcn.004de640
add esp, 0xc
test eax, eax
jne 0x41923c
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 0x59a4d0
call fcn.0046b110
add esp, 0x14
jmp 0x418527
movsx edx, word [ebx + 0xc]
push edx
call fcn.004ddf80
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
je 0x418527
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 0x419312
cmp al, 0x37
je 0x4193e2
cmp al, 0x39
jne 0x418527
cmp byte [esi + 8], 0x37
jne 0x418527
mov eax, dword [esi]
push eax
call fcn.004d2530
add esp, 4
test eax, eax
jne 0x418527
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.00450af0
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 0x4192ea
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.004182b0
test eax, eax
je 0x418527
mov dword [edi + 8], esi
mov eax, dword [ebx + 4]
push eax
call fcn.004c9bc0
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x4193e2
cmp al, 0x37
je 0x4193e2
jmp 0x418527
push 0x2734
push 0x59a4d0
call fcn.0046b110
add esp, 8
mov esi, 0x54d7d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], esi
call fcn.00473690
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], esi
jmp 0x418535
mov eax, dword [ebp + 8]
test eax, eax
je 0x41939b
cmp eax, 0xffffff80
jl 0x419381
cmp eax, 0x7f
jg 0x419381
lea esi, [ebx + 0xc]
push 0xc383
mov ecx, esi
call fcn.00473790
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004737d0
jmp 0x41939b
lea esi, [ebx + 0xc]
push 0xc381
mov ecx, esi
call fcn.00473790
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.00473750
push 1
push 4
mov ecx, ebx
call fcn.00410fd0
mov esi, eax
push 1
push 2
push 1
neg eax
push eax
mov ecx, ebx
call fcn.004165b0
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004101e0
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.004c9bc0
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.00473690
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