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

Disassembly:
push 0xffffffffffffffff
push 0x4a3160
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc8]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [0x4a7468]
cmp dword [edi + 0x68], 0
lea ebp, [edi + 0x68]
jne 0x40886d
push ebx
call dword [0x4a70b4]
mov dword [ebp], eax
lea edx, [esp + 0x3c]
push edx
call dword [0x4a7448]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [0x4a7450]
cmp dword [edi + 0x6c], 0
mov esi, dword [0x4a70b8]
jne 0x409379
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
push eax
push ecx
push ebx
call dword [0x4a70b0]
mov edx, dword [ebp]
push eax
push edx
mov dword [edi + 0x6c], eax
call dword [0x4a70ac]
mov eax, dword [edi + 0x70]
push eax
mov eax, dword [ebp]
push eax
call dword [0x4a70ac]
mov ecx, dword [ebp]
push 0xffffff
push ecx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x408906
mov eax, dword [ebp]
push 0
push 0
push 0
lea edx, [esp + 0x50]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp]
push ecx
push edx
call esi
xor ecx, ecx
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [edi + 0x38]
test edx, edx
je 0x408ac9
mov eax, dword [edi + 0x3c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x408ac9
test edx, edx
je 0x40893b
mov eax, dword [edi + 0x3c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x408944
call fcn.0047ebfb
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x38]
mov edi, dword [eax + ecx*4]
test edi, edi
mov dword [esp + 0x1c], edi
je 0x408ab4
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0xc8]
cmp ecx, dword [edx + 0x64]
jne 0x408ab4
mov eax, dword [ebp]
push 0xffffff
push eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4089a2
mov edx, dword [ebp]
push 0
push 0
push 0
lea ecx, [edi + 0x18]
push ecx
push 2
push 0
push 0
push edx
call dword [0x4a70c0]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
push eax
push ecx
call esi
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
add edi, 4
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xc8]
mov ecx, dword [edi + 0x28]
add eax, 4
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x408a62
mov eax, dword [edi + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 2
cmp ecx, eax
jae 0x408a62
mov edx, dword [edi + 0x28]
test edx, edx
je 0x4089ef
mov eax, dword [edi + 0x2c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x4089f8
call fcn.0047ebfb
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x28]
cmp dword [edx + ecx*4], 0
je 0x408a62
test edx, edx
je 0x408a11
mov eax, dword [edi + 0x2c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x408a1a
call fcn.0047ebfb
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
mov edx, dword [eax + ecx*4]
cmp dword [edx + 8], 0
je 0x408a62
test eax, eax
je 0x408a36
mov edi, dword [edi + 0x2c]
sub edi, eax
sar edi, 2
cmp ecx, edi
jb 0x408a3b
call fcn.0047ebfb
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx*4]
mov edi, dword [eax + 8]
call fcn.00438940
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
push ecx
push edx
add edi, 0x18
push edi
call dword [0x4a744c]
test eax, eax
je 0x408ab4
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x1c]
mov ebx, dword [edi]
sub eax, 3
push eax
sub ecx, 3
push ecx
add esi, 3
add ebx, 3
mov eax, ebp
call fcn.00403980
mov esi, dword [0x4a70b8]
mov ebx, dword [esp + 0xcc]
add dword [esp + 0x18], 1
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x18]
jmp 0x408910
xor ecx, ecx
mov edx, dword [edi + 0x48]
test edx, edx
mov dword [esp + 0x20], ecx
je 0x408e40
mov eax, dword [edi + 0x4c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x408e40
test edx, edx
je 0x408afa
mov eax, dword [edi + 0x4c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x408b03
call fcn.0047ebfb
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x408e26
mov ecx, dword [ebx + 0x38]
mov edx, dword [esp + 0xc8]
cmp ecx, dword [edx + 0x64]
jne 0x408e26
mov eax, dword [ebp]
push 0xffffff
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x408b5b
mov ecx, dword [ebp]
push 0
push 0
push 0
add ebx, 0x28
push ebx
push 2
push 0
push 0
push ecx
call dword [0x4a70c0]
mov edx, dword [ebp]
push edi
push edx
call esi
mov edi, dword [esp + 0x18]
mov ebx, dword [edi + 0x34]
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
add edi, 0x28
sub ebx, 5
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x18]
add eax, 5
sub edx, 4
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x20]
push 0xd00
mov dword [esp + 0x38], edx
add ecx, 4
add ebx, 0x20
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [ebp]
push eax
call dword [0x4a7480]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x34]
sub ecx, dword [esp + 0x84]
sub edx, dword [esp + 0x2c]
cmp ecx, edx
jle 0x408c68
mov eax, 6
lea ecx, [esp + 0x94]
mov edx, ebx
call fcn.00403830
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, 0x4aa668
mov dword [esp + 0xc8], 0
call fcn.004038a0
mov eax, dword [eax]
mov edx, dword [ebp]
add esp, 8
push 0x824
lea ecx, [esp + 0x30]
push ecx
push 9
push eax
push edx
call dword [0x4a7480]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408c83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408c83
mov ebx, dword [ebx]
mov edx, dword [ebx - 0xc]
mov eax, dword [ebp]
push 0x825
lea ecx, [esp + 0x30]
push ecx
push edx
push ebx
push eax
call dword [0x4a7480]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push edi
call dword [0x4a744c]
test eax, eax
je 0x408e26
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0x2c]
sub eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov edi, dword [edi]
sub eax, 3
add edi, 3
add eax, edi
mov dword [esp + 0x18], eax
add eax, 0xffffffff
add ebx, 3
mov dword [esp + 0xa0], eax
mov eax, dword [ebp]
push 0xa2713a
lea edx, [ebx + 1]
push eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], edx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x408d25
mov edx, dword [ebp]
push 0
push 0
push 0
lea ecx, [esp + 0xa4]
push ecx
push 2
push 0
push 0
push edx
call dword [0x4a70c0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp]
push eax
push ecx
call esi
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp]
add eax, ebx
mov dword [esp + 0x1c], eax
push 0xa2713a
lea edx, [edi + 1]
add eax, 0xffffffff
push ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x408d7f
mov eax, dword [ebp]
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp]
push ecx
push edx
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
mov dword [esp + 0x64], eax
add eax, 0xffffffff
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
push 0xa2713a
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x408dce
mov eax, dword [ebp]
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [ebp]
push ebx
push ecx
call esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
add eax, 0xffffffff
mov dword [esp + 0x80], eax
mov eax, dword [ebp]
push 0xa2713a
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x408e26
mov edx, dword [ebp]
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 2
push 0
push 0
push edx
call dword [0x4a70c0]
mov eax, dword [ebp]
push edi
push eax
call esi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
add ecx, 1
jmp 0x408acb
xor ecx, ecx
mov edx, dword [edi + 0x58]
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x409203
mov eax, dword [edi + 0x5c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x409203
test edx, edx
je 0x408e71
mov eax, dword [edi + 0x5c]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x408e7a
call fcn.0047ebfb
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x58]
mov ebx, dword [edx + ecx*4]
mov eax, dword [ebx + 0xc]
cmp eax, 2
mov dword [esp + 0x20], ebx
jne 0x408e99
mov edi, dword [edi + 0xb8]
mov eax, dword [ebp]
push edi
push eax
jmp 0x408eb6
cmp eax, 1
jne 0x408eab
mov edi, dword [edi + 0xb4]
mov ecx, dword [ebp]
push edi
push ecx
jmp 0x408eb6
mov edi, dword [edi + 0xb0]
mov edx, dword [ebp]
push edi
push edx
call dword [0x4a70ac]
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
push 0xffffff
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x408ef3
mov ecx, dword [ebp]
push 0
push 0
push 0
add ebx, 0x1c
push ebx
push 2
push 0
push 0
push ecx
call dword [0x4a70c0]
mov edx, dword [ebp]
push edi
push edx
call esi
mov edi, dword [esp + 0x20]
mov ebx, dword [edi + 0x28]
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
add edi, 0x1c
sub ebx, 5
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x20]
add eax, 5
sub edx, 4
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x14]
push 0xd00
mov dword [esp + 0xa4], edx
add ecx, 4
add ebx, 0x14
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [ebp]
push eax
call dword [0x4a7480]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa0]
sub ecx, dword [esp + 0xa8]
sub edx, dword [esp + 0x98]
cmp ecx, edx
jle 0x409015
mov eax, 6
lea ecx, [esp + 0x94]
mov edx, ebx
call fcn.00403830
push eax
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x4aa668
mov dword [esp + 0xc8], 1
call fcn.004038a0
mov eax, dword [eax]
mov edx, dword [ebp]
add esp, 8
push 0x824
lea ecx, [esp + 0x9c]
push ecx
push 9
push eax
push edx
call dword [0x4a7480]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408fe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409033
mov ebx, dword [ebx]
mov edx, dword [ebx - 0xc]
mov eax, dword [ebp]
push 0x825
lea ecx, [esp + 0x9c]
push ecx
push edx
push ebx
push eax
call dword [0x4a7480]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push edi
call dword [0x4a744c]
test eax, eax
je 0x4091d6
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
sub eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov edi, dword [edi]
sub eax, 3
add edi, 3
add eax, edi
mov dword [esp + 0x24], eax
add eax, 0xffffffff
add ebx, 3
mov dword [esp + 0x7c], eax
mov eax, dword [ebp]
push 0xa2713a
lea edx, [ebx + 1]
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x88], edx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x4090cf
mov edx, dword [ebp]
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 2
push 0
push 0
push edx
call dword [0x4a70c0]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp]
push eax
push ecx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp]
add eax, ebx
mov dword [esp + 0x20], eax
push 0xa2713a
lea edx, [edi + 1]
add eax, 0xffffffff
push ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x409129
mov eax, dword [ebp]
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
push ecx
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [esp + 0x54], eax
add eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
push 0xa2713a
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x409178
mov eax, dword [ebp]
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 2
push 0
push 0
push eax
call dword [0x4a70c0]
mov ecx, dword [ebp]
push ebx
push ecx
call esi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x88], eax
add eax, 0xffffffff
mov dword [esp + 0x90], eax
mov eax, dword [ebp]
push 0xa2713a
push eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], edx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x4091d6
mov edx, dword [ebp]
push 0
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
push 2
push 0
push 0
push edx
call dword [0x4a70c0]
mov eax, dword [ebp]
push edi
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4091e9
mov ecx, dword [ebp]
push eax
push ecx
call dword [0x4a70ac]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
add ecx, 1
jmp 0x408e42
push 0xe9d3bb
push 1
push 0
call dword [0x4a70a8]
mov edx, dword [ebp]
push eax
push edx
mov dword [esp + 0x2c], eax
call dword [0x4a70ac]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov edx, eax
sub edx, ecx
sub edx, 2
cmp edx, 0x1e
mov dword [esp + 0x18], 0x1e
jle 0x409289
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push 0
push 2
push eax
push ecx
call dword [0x4a709c]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
sub edx, 0x57
push edx
push eax
push ecx
call dword [0x4a70c8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x18], 0x1d
mov edx, eax
sub edx, ecx
sub edx, 2
cmp dword [esp + 0x18], edx
jl 0x409241
sub eax, ecx
sub eax, 2
cmp eax, 0x57
jle 0x4092f5
mov dword [esp + 0x18], 0x58
jmp 0x4092a0
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push 0
sub eax, 0x56
push eax
push ecx
push edx
call dword [0x4a709c]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
sub eax, 2
push eax
push ecx
push edx
call dword [0x4a70c8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
add eax, 0x57
mov dword [esp + 0x18], eax
sub ecx, 2
add eax, 0xffffffff
cmp eax, ecx
jl 0x4092a0
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov dword [esp + 0x18], 0x1e
sub edx, 2
cmp edx, 0x1e
jle 0x409358
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push 0
push eax
push 2
push ecx
call dword [0x4a709c]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp]
push edx
sub eax, 2
push eax
push ecx
call dword [0x4a70c8]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add eax, 0x1d
sub edx, 2
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x409310
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp]
push eax
push ecx
call dword [0x4a70ac]
cmp dword [esp + 0x24], 0
je 0x409379
mov edx, dword [esp + 0x24]
push edx
call dword [0x4a70cc]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x58]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [0x4a70a4]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
nop
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4095aa
mov eax, dword [edi + 0x3c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x4095aa
cmp dword [esp + 0x18], 0
jne 0x4095aa
test ecx, ecx
je 0x4093e6
mov eax, dword [edi + 0x3c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x4093eb
call fcn.0047ebfb
mov eax, dword [edi + 0x38]
mov ebp, dword [eax + ebp*4]
test ebp, ebp
je 0x409595
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0xc8]
cmp ecx, dword [edx + 0x64]
jne 0x409595
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea edi, [ebp + 0x18]
push edi
call dword [0x4a744c]
test eax, eax
je 0x409595
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ebp, dword [ebp + 0x1c]
sub eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov edi, dword [edi]
sub eax, 3
add edi, 3
add eax, edi
add ebp, 3
mov dword [esp + 0x20], eax
push 0xa2713a
add eax, 0xffffffff
lea edx, [ebp + 1]
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4094ac
push 0
push 0
push 0
lea eax, [esp + 0x90]
push eax
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
call esi
mov eax, dword [esp + 0x28]
add eax, ebp
mov dword [esp + 0x24], eax
push 0xa2713a
lea edx, [edi + 1]
add eax, 0xffffffff
push ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x409509
push 0
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov edx, dword [esp + 0x2c]
push edx
push ebx
call esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
add eax, 0xffffffff
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
push 0xa2713a
push ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], eax
call esi
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40954f
push 0
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push ebp
push ebx
call esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x409595
push 0
push 0
push 0
lea eax, [esp + 0x60]
push eax
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push edi
push ebx
call esi
add dword [esp + 0x1c], 1
mov edi, dword [esp + 0xc8]
mov ebp, dword [esp + 0x1c]
jmp 0x4093b0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4097a8
mov eax, dword [edi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x4097a8
cmp dword [esp + 0x18], 0
jne 0x4097a8
test ecx, ecx
je 0x4095e6
mov eax, dword [edi + 0x4c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x4095eb
call fcn.0047ebfb
mov ecx, dword [edi + 0x48]
mov ebp, dword [ecx + ebp*4]
test ebp, ebp
je 0x409793
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0xc8]
cmp edx, dword [eax + 0x64]
jne 0x409793
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea edi, [ebp + 0x28]
push edi
call dword [0x4a744c]
test eax, eax
je 0x409793
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ebp, dword [ebp + 0x2c]
sub eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov edi, dword [edi]
sub eax, 3
add edi, 3
add eax, edi
mov dword [esp + 0x20], eax
add eax, 0xffffffff
add ebp, 3
mov dword [esp + 0x8c], eax
push 0xa2713a
lea eax, [ebp + 1]
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4096ac
push 0
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov edx, dword [esp + 0x2c]
push edx
push ebx
call esi
mov ecx, dword [esp + 0x28]
lea eax, [edi + 1]
mov dword [esp + 0x7c], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x24], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x409707
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov eax, dword [esp + 0x2c]
push eax
push ebx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40974d
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push ebp
push ebx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x409793
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push edi
push ebx
call esi
add dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0xc8]
jmp 0x4095b0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov edi, edi
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x409995
mov eax, dword [edi + 0x5c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x409995
cmp dword [esp + 0x18], 0
jne 0x409995
test ecx, ecx
je 0x4097e6
mov eax, dword [edi + 0x5c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x4097eb
call fcn.0047ebfb
mov eax, dword [edi + 0x58]
mov ebp, dword [eax + ebp*4]
test ebp, ebp
je 0x409980
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea edi, [ebp + 0x1c]
push edi
call dword [0x4a744c]
test eax, eax
je 0x409980
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ebp, dword [ebp + 0x20]
sub eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov edi, dword [edi]
sub eax, 3
add edi, 3
add eax, edi
mov dword [esp + 0x20], eax
add eax, 0xffffffff
add ebp, 3
mov dword [esp + 0x8c], eax
push 0xa2713a
lea eax, [ebp + 1]
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x409899
push 0
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov edx, dword [esp + 0x2c]
push edx
push ebx
call esi
mov ecx, dword [esp + 0x28]
lea eax, [edi + 1]
mov dword [esp + 0x7c], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x24], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4098f4
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
mov eax, dword [esp + 0x2c]
push eax
push ebx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40993a
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push ebp
push ebx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
push 0xa2713a
add eax, 0xffffffff
push ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x409980
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 2
push 0
push 0
push ebx
call dword [0x4a70c0]
push edi
push ebx
call esi
add dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0xc8]
jmp 0x4097b0
mov eax, dword [edi + 4]
push ebx
push eax
call dword [0x4a742c]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8