Function at 0x409560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x495d28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push 0
push 4
push ecx
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x20], 0
call dword [eax + 0xc]
cmp dword [ebp - 0x20], 0x5f4e5241
jne 0x40a57b
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push 0
push 4
push ecx
push ebx
mov dword [ebp - 0x20], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffc
cmp eax, 2
ja 0x40a567
mov edi, dword [0x4715a4]
push 3
push 0
push 0x102f
push dword [0x498200]
call edi
mov esi, 0x498200
lea ecx, [ecx]
push 0
push 0
push 0x1009
push dword [esi]
call edi
add esi, 0x24
cmp esi, 0x4984d0
jl 0x4095f0
cmp byte [ebp + 0xc], 0
jne 0x409626
call fcn.00413ce0
mov byte [0x496e85], 1
mov byte [0x496e86], 0
jmp 0x409968
mov ecx, 0x498218
mov byte [0x496e86], 1
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], eax
lea ebx, [ebx]
mov edi, dword [ecx - 4]
cmp edi, dword [ecx]
je 0x40994e
lea edx, [edi + 4]
mov dword [ebp - 0x1c], edx
mov ebx, dword [edi]
mov dword [ebp - 0x24], ebx
mov esi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
cmp esi, eax
je 0x4097e1
lea ecx, [esi + 4]
mov dword [ebp - 0x18], ecx
lea ebx, [ebx]
mov ebx, dword [esi]
cmp dword [ebx + 0x50], 2
jne 0x409925
sub eax, ecx
push eax
push ecx
push esi
call fcn.004409f0
mov eax, dword [ebp - 0x24]
add esp, 0xc
add dword [eax + 0x40], 0xfffffffc
test ebx, ebx
je 0x4097ca
cmp dword [ebx], 0x11
jne 0x409702
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x409702
mov ecx, dword [eax]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4096c0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4096d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
call fcn.004459e4
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
call fcn.004459e4
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
call fcn.004459e4
push 0x18
push dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0043df07
add esp, 0x14
push dword [ebx + 0x7c]
call fcn.004459e4
push dword [ebx + 0x74]
call fcn.004459e4
push dword [ebx + 0x70]
call fcn.004459e4
push dword [ebx + 0x6c]
call fcn.004459e4
push dword [ebx + 0x68]
call fcn.004459e4
push dword [ebx + 0x64]
call fcn.004459e4
push dword [ebx + 0x60]
call fcn.004459e4
mov ecx, dword [ebx + 0x3c]
add esp, 0x1c
test ecx, ecx
je 0x409794
mov eax, dword [ebx + 0x44]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x409775
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40a58f
mov ecx, dword [ebp - 0x2c]
push edx
push ecx
call fcn.0043df07
mov dword [ebx + 0x3c], 0
add esp, 8
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
push dword [ebx + 0x18]
call fcn.004459e4
push dword [ebx + 0x14]
call fcn.004459e4
push dword [ebx + 0x10]
call fcn.004459e4
push dword [ebx + 0xc]
call fcn.004459e4
push dword [ebx + 4]
call fcn.004459e4
push 0x98
push ebx
call fcn.0043df07
add esp, 0x1c
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x40]
cmp esi, eax
jne 0x409670
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp dword [ebx + 0x50], 2
jne 0x40993a
mov eax, dword [ecx]
sub eax, edx
push eax
push edx
push edi
call fcn.004409f0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add dword [eax], 0xfffffffc
cmp dword [ebx], 0x11
jne 0x409859
mov esi, dword [ebx + 0x94]
test esi, esi
je 0x409859
mov ecx, dword [esi]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x409822
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40982f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esi + 0x14]
call fcn.004459e4
push dword [esi + 0x10]
call fcn.004459e4
push dword [esi + 0xc]
call fcn.004459e4
push 0x18
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.0043df07
add esp, 0x14
push dword [ebx + 0x7c]
call fcn.004459e4
push dword [ebx + 0x74]
call fcn.004459e4
push dword [ebx + 0x70]
call fcn.004459e4
push dword [ebx + 0x6c]
call fcn.004459e4
push dword [ebx + 0x68]
call fcn.004459e4
push dword [ebx + 0x64]
call fcn.004459e4
push dword [ebx + 0x60]
call fcn.004459e4
mov ecx, dword [ebx + 0x3c]
add esp, 0x1c
test ecx, ecx
je 0x4098e7
mov eax, dword [ebx + 0x44]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4098c8
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40a58f
mov ecx, esi
push edx
push ecx
call fcn.0043df07
mov dword [ebx + 0x3c], 0
add esp, 8
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
push dword [ebx + 0x18]
call fcn.004459e4
push dword [ebx + 0x14]
call fcn.004459e4
push dword [ebx + 0x10]
call fcn.004459e4
push dword [ebx + 0xc]
call fcn.004459e4
push dword [ebx + 4]
call fcn.004459e4
push 0x98
push ebx
call fcn.0043df07
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
mov edx, dword [ebp - 0x1c]
jmp 0x409943
add esi, 4
mov dword [ebx + 0x50], 1
add ecx, 4
mov dword [ebp - 0x18], ecx
jmp 0x4097cd
add edi, 4
add edx, 4
mov dword [ebp - 0x1c], edx
cmp edi, dword [ecx]
jne 0x409651
mov eax, dword [ebp - 0x28]
add eax, 0x24
add ecx, 0x24
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x2d0
jl 0x409640
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push 0
push 4
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0x13
jg 0x40a57b
inc eax
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0
cmp eax, 1
jle 0x409b31
mov edi, dword [ebp + 8]
mov ecx, 0x498244
dec eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
cmp byte [ebp + 0xc], 0
mov esi, dword [ecx - 0x20]
mov dword [ebp - 0x18], esi
je 0x4099db
push 0
push 1
push 0x1002
push esi
call dword [0x4715a4]
push eax
call dword [0x4710cc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x4099e1
mov dword [ecx], 0
mov dword [ebp + 8], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push 0
push 4
push ecx
push ebx
mov dword [ebp - 0x28], 0
call dword [eax + 0xc]
test esi, esi
je 0x409a27
mov eax, dword [ebp + 8]
push 0
push dword [ebp + eax*4 - 0x74]
push 0x1002
push esi
call dword [0x4715a4]
cmp byte [ebp + 0xc], 0
mov edi, eax
jne 0x409a27
push 0xffffffffffffffff
push edi
call dword [0x4710b8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x409b0e
xor eax, eax
lea ecx, [ebp - 0x28]
push 0
push 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
jne 0x409a6f
xor esi, esi
jmp 0x409ade
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push 0
push 4
push ecx
push ebx
mov dword [ebp - 0x28], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push 0
push 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp - 0x28], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
push ebx
mov dword [ebp - 0x80], eax
call fcn.004239e0
push ebx
mov dword [ebp - 0x7c], eax
call fcn.004239e0
add esp, 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
push eax
call dword [0x4714fc]
push dword [ebp - 0x7c]
mov esi, eax
call dword [0x471144]
push dword [ebp - 0x78]
call dword [0x471144]
cmp dword [ebp - 0x18], 0
je 0x409af0
push esi
push 0xffffffffffffffff
push edi
call dword [0x4710c0]
jmp 0x409afa
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x409afa
mov byte [eax], 1
push esi
call dword [0x4714b0]
sub dword [ebp - 0x24], 1
jne 0x409a35
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, 2
jb 0x4099e8
mov ecx, dword [ebp - 0x1c]
add ecx, 0x24
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], ecx
jne 0x4099b1
mov esi, 1
mov dword [ebp - 0x2c], esi
lea esp, [esp]
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push 0
push 4
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebx]
push 0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffc
push ebx
call dword [eax + 0x14]
cmp dword [ebp + 8], 0xd
jne 0x409ba6
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push 0
push 4
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 0x14
jne 0x409b40
push 0
call fcn.00401a70
add esp, 4
lea eax, [esi - 0x13]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + esi*8]
shl edi, 2
push 0x98
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0x498200]
mov dword [ebp - 0x28], eax
call fcn.0043ded7
mov esi, eax
mov dword [ebp - 0x10], eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x409cfb
push 2
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 4], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0xc], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x10], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x14], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x18], eax
push 2
mov word [eax], cx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x60], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x64], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x68], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x6c], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x70], eax
push 2
mov word [eax], cx
call fcn.004459e9
xor ecx, ecx
mov dword [esi + 0x74], eax
push 2
mov word [eax], cx
call fcn.004459e9
mov dword [esi + 0x7c], eax
xor ecx, ecx
add esp, 0x30
mov word [eax], cx
xor eax, eax
mov dword [esi], ecx
mov byte [esi + 8], cl
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0xa], cl
mov word [esi + 0x1c], ax
mov dword [esi + 0x20], eax
mov byte [esi + 0x79], al
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
jmp 0x409d00
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x30]
mov dword [esi + 0x48], 1
push ebx
push eax
call fcn.00409430
mov ecx, dword [esi + 0xc]
add esp, 8
mov dword [ebp + 8], ecx
mov eax, dword [eax]
test eax, eax
jne 0x409d25
mov eax, 0x4740f4
push eax
call fcn.004459f4
push dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.004459e4
push dword [ebp - 0x30]
call fcn.004459e4
mov eax, dword [ebx]
lea ecx, [ebp + 8]
add esp, 0xc
mov dword [ebp + 8], 0
push 0
push 4
push ecx
push ebx
call dword [eax + 0xc]
mov eax, dword [edi + 0x498220]
lea ecx, [ebp + 8]
add eax, dword [ebp + 8]
push 0
push 4
mov dword [esi + 0x30], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov dword [esi + 0x38], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x74]
push 0
push 8
mov dword [esi + 0x34], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x70]
lea edx, [esi + 0x60]
mov ecx, dword [ebp - 0x74]
push edx
push eax
push ecx
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], eax
call fcn.00408680
add esp, 0xc
cmp dword [esi + 0x34], 0xffffffff
je 0x40a2cc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push 0
push 4
mov dword [esi + 0x34], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov dword [esi], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov al, byte [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov byte [esi + 8], al
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov dword [esi + 0x34], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov al, byte [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov byte [esi + 0xa], al
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov al, byte [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov byte [esi + 0x78], al
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
cmp dword [ebp - 0x20], 4
mov al, byte [ebp + 8]
mov byte [esi + 0x79], al
jbe 0x409eba
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x7c]
add esp, 8
mov eax, dword [eax]
test eax, eax
jne 0x409ea0
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x7c], eax
call fcn.004459e4
push dword [ebp - 0x34]
call fcn.004459e4
add esp, 0xc
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x10]
add esp, 8
mov eax, dword [eax]
test eax, eax
jne 0x409ed5
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x10], eax
call fcn.004459e4
push dword [ebp - 0x38]
call fcn.004459e4
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x14]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x409f07
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x14], eax
call fcn.004459e4
push dword [ebp - 0x3c]
call fcn.004459e4
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x18]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x409f39
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x18], eax
call fcn.004459e4
push dword [ebp - 0x40]
call fcn.004459e4
mov eax, dword [ebx]
lea ecx, [ebp + 8]
add esp, 0xc
mov dword [ebp + 8], 0
push 0
push 4
push ecx
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x64]
add esp, 8
mov eax, dword [eax]
test eax, eax
jne 0x409f89
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x64], eax
call fcn.004459e4
push dword [ebp - 0x44]
call fcn.004459e4
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x68]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x409fbb
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x68], eax
call fcn.004459e4
push dword [ebp - 0x48]
call fcn.004459e4
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x6c]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x409fed
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x6c], eax
call fcn.004459e4
push dword [ebp - 0x4c]
call fcn.004459e4
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00409430
mov edi, dword [esi + 0x70]
add esp, 0x14
mov eax, dword [eax]
test eax, eax
jne 0x40a01f
mov eax, 0x4740f4
push eax
call fcn.004459f4
push edi
mov dword [esi + 0x70], eax
call fcn.004459e4
push dword [ebp - 0x50]
call fcn.004459e4
mov eax, dword [ebx]
lea ecx, [ebp + 8]
add esp, 0xc
mov dword [ebp + 8], 0
push 0
push 4
push ecx
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push 4
mov dword [esi + 0x2c], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
cmp dword [ebp + 8], 1
jne 0x40a2cc
push 0x2c
call fcn.0043ded7
add esp, 4
test eax, eax
je 0x40a0b4
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
jmp 0x40a0b6
xor eax, eax
push 0
push 4
mov dword [esi + 0x80], eax
lea ecx, [ebp + 8]
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp + 8], 0
call dword [eax + 0xc]
mov ecx, dword [esi + 0x80]
mov eax, dword [ebp + 8]
push ebx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x80]
cmp dword [eax + 4], 5
jne 0x40a193
lea eax, [ebp - 0x54]
push eax
call fcn.00409430
add esp, 8
mov ecx, dword [eax]
mov eax, dword [esi + 0x80]
add eax, 0x20
mov dword [ebp - 4], 2
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x40a126
mov edx, dword [eax]
test edx, edx
je 0x40a120
mov edx, dword [edx]
jmp 0x40a122
xor edx, edx
cmp edx, ecx
je 0x40a17f
mov ecx, eax
call 0x3f4f10
push 0xc
call fcn.0043ded7
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x40a16c
push dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [0x4713bc]
mov dword [edi], eax
test eax, eax
jne 0x40a16e
cmp dword [ebp + 8], eax
jne 0x40a594
jmp 0x40a16e
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [eax], edi
test edi, edi
je 0x40a594
push dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.004459e4
jmp 0x40a2c9
lea eax, [ebp - 0x58]
push eax
call fcn.00409430
add esp, 8
mov eax, dword [eax]
mov edi, dword [esi + 0x80]
mov dword [ebp - 4], 4
mov dword [ebp + 8], eax
test eax, eax
je 0x40a1c6
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x40a1c0
mov ecx, dword [ecx]
jmp 0x40a1c2
xor ecx, ecx
cmp ecx, eax
je 0x40a21e
lea ecx, [edi + 0x28]
call 0x3f4f10
push 0xc
call fcn.0043ded7
mov esi, eax
add esp, 4
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x40a20d
push dword [ebp + 8]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [0x4713bc]
mov dword [esi], eax
test eax, eax
jne 0x40a20f
cmp dword [ebp + 8], eax
jne 0x40a594
jmp 0x40a20f
xor esi, esi
mov byte [ebp - 4], 4
mov dword [edi + 0x28], esi
test esi, esi
je 0x40a594
push dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004459e4
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00409430
add esp, 0xc
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 4], 6
test esi, esi
je 0x40a2b9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x80]
add eax, 0x24
mov dword [ebp + 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x40a261
mov ecx, dword [ecx]
jmp 0x40a263
xor ecx, ecx
cmp ecx, esi
je 0x40a2b9
mov ecx, eax
call 0x3f4f10
push 0xc
call fcn.0043ded7
mov edi, eax
add esp, 4
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x40a2a6
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [0x4713bc]
mov dword [edi], eax
test eax, eax
je 0x40a594
jmp 0x40a2a8
xor edi, edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [eax], edi
test edi, edi
je 0x40a594
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004459e4
mov esi, dword [ebp - 0x10]
add esp, 4
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x40a424
cmp byte [ebp + 0xc], 0
je 0x40a3f4
mov ecx, dword [ebp - 0x18]
mov al, 1
mov byte [ebp + 0xb], al
mov edi, dword [ecx + 0x498214]
cmp edi, dword [ecx + 0x498218]
je 0x40a3bc
jmp 0x40a300
cmp al, 1
jne 0x40a38f
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x50], 1
jne 0x40a327
push esi
push eax
call fcn.00410c50
add esp, 8
test al, al
mov eax, dword [ebp - 0x1c]
jne 0x40a380
mov ecx, dword [ebp - 0x18]
mov esi, dword [eax + 0x3c]
cmp esi, dword [eax + 0x40]
je 0x40a359
nop
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
cmp dword [eax + 0x50], 1
jne 0x40a34b
push dword [ebp - 0x10]
push eax
call fcn.00410c50
add esp, 8
test al, al
jne 0x40a36c
mov eax, dword [ebp - 0x1c]
add esi, 4
cmp esi, dword [eax + 0x40]
jne 0x40a330
mov ecx, dword [ebp - 0x18]
mov al, byte [ebp + 0xb]
add edi, 4
cmp edi, dword [ecx + 0x498218]
je 0x40a38f
mov esi, dword [ebp - 0x10]
jmp 0x40a300
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x50], 0
xor al, al
mov byte [ebp + 0xb], al
jmp 0x40a35c
mov dword [eax + 0x50], 0
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x14], eax
jmp 0x40a396
test al, al
jne 0x40a3b9
mov esi, dword [ebp - 0x10]
cmp dword [esi], 0x11
jne 0x40a487
mov edi, dword [esi + 0x94]
test edi, edi
je 0x40a487
mov dword [ebp - 4], 8
jmp 0x40a444
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x40a3d4
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x50], 2
mov dword [esi + 0x34], eax
push esi
push eax
push edx
call fcn.004010d0
add esp, 0xc
cmp dword [esi + 0x34], 0xffffffff
jne 0x40a544
mov esi, dword [esi + 0x38]
mov dword [ebp - 0x14], esi
jmp 0x40a544
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x40a404
mov edi, dword [ebp - 0x14]
mov eax, edi
mov dword [esi + 0x34], edi
push esi
push eax
push edx
call fcn.004010d0
add esp, 0xc
cmp dword [esi + 0x34], 0xffffffff
jne 0x40a544
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x14], eax
jmp 0x40a544
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40a42e
mov byte [eax], 1
cmp dword [esi], 0x11
jne 0x40a487
mov edi, dword [esi + 0x94]
test edi, edi
je 0x40a487
mov dword [ebp - 4], 9
mov ecx, dword [edi]
test ecx, ecx
je 0x40a450
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40a45d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [edi + 0x14]
call fcn.004459e4
push dword [edi + 0x10]
call fcn.004459e4
push dword [edi + 0xc]
call fcn.004459e4
push 0x18
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0043df07
add esp, 0x14
push dword [esi + 0x7c]
call fcn.004459e4
push dword [esi + 0x74]
call fcn.004459e4
push dword [esi + 0x70]
call fcn.004459e4
push dword [esi + 0x6c]
call fcn.004459e4
push dword [esi + 0x68]
call fcn.004459e4
push dword [esi + 0x64]
call fcn.004459e4
push dword [esi + 0x60]
call fcn.004459e4
mov eax, dword [esi + 0x3c]
add esp, 0x1c
test eax, eax
je 0x40a50e
mov ecx, dword [esi + 0x44]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40a4ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a58f
mov eax, edx
push ecx
push eax
call fcn.0043df07
mov dword [esi + 0x3c], 0
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
push dword [esi + 0x18]
call fcn.004459e4
push dword [esi + 0x14]
call fcn.004459e4
push dword [esi + 0x10]
call fcn.004459e4
push dword [esi + 0xc]
call fcn.004459e4
push dword [esi + 4]
call fcn.004459e4
push 0x98
push esi
call fcn.0043df07
add esp, 0x1c
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push 0
push 4
push ecx
push ebx
mov dword [ebp - 0x24], 0
call dword [eax + 0xc]
cmp dword [ebp - 0x24], 0xa
jne 0x40a57b
mov esi, dword [ebp - 0x2c]
jmp 0x409b40
push 0x30
push 0x47b3e4
push 0x47cd30
push 0
call dword [0x4715a8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00445c6b
push 0x8007000e
call fcn.0043f1f0
int3