Function at 0x4365c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
xor eax, eax
mov dword [ebp - 0x38], ecx
push ebx
mov dword [ebp - 0x80], eax
lea ebx, [ecx + 0x2f0]
mov dword [ebp - 0x5c], eax
lea eax, [ecx + 0x50]
push esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], edi
mov eax, dword [edi]
mov dword [ebp - 0x64], eax
mov esi, dword [edi + 8]
imul eax, edx, 0x50
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebx + 0x2c]
imul ecx, eax, 0x50
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x30]
mov edx, eax
mov dword [ebp - 0x28], eax
call fcn.004393b0
mov ecx, dword [ebp - 0x38]
not eax
and eax, dword [ebp + 8]
not edx
and edx, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp - 0x4c]
call fcn.00464b50
mov ecx, dword [ebp - 0x2c]
xor edx, edx
inc edx
and eax, edx
mov dword [ebp - 0x30], eax
test byte [ecx + 0x24], 0x40
je 0x436672
mov eax, dword [ebp - 0x38]
push 0x20
pop ecx
test byte [eax + 0x2c], cl
jne 0x436672
mov dword [ebp - 4], edx
jmp 0x436676
and dword [ebp - 4], 0
mov ecx, esi
call fcn.0040935e
mov ecx, esi
mov dword [ebp - 0x58], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
call fcn.0040935e
cmp byte [ebx + 0x2c], 0
mov dword [ebp - 0x7c], eax
mov dword [ebx + 0x18], eax
jbe 0x4366ba
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0x24], 8
je 0x4366ba
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
push 0
push 0x38
mov dword [edi + 0x2c], eax
pop edx
mov dword [ebx], eax
call fcn.00409192
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
test ecx, ecx
jle 0x4366d5
mov edx, ebx
xor ecx, ecx
cmp dword [edx], ecx
jne 0x4366d7
dec eax
sub edx, 0x50
test eax, eax
jg 0x4366c7
jmp 0x4366d7
xor ecx, ecx
mov edx, dword [ebp - 0x38]
imul eax, eax, 0x50
mov eax, dword [eax + edx + 0x2fc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x70], edx
test dl, 0x10
je 0x436726
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
push 0xf
pop edx
call fcn.0040910e
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push dword [ebp - 0x58]
push esi
push 0x10
pop edx
call fcn.00409192
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x2d], 0xd
jmp 0x43771d
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
test edx, 0x400
je 0x43692c
movzx eax, word [eax + 0x28]
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.0041949e
lea edx, [eax + 2]
call fcn.0041b45d
mov ecx, eax
xor esi, esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], esi
jle 0x4367b0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x4367aa
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x436792
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
push eax
push dword [ebp - 0x30]
push esi
push ebx
call fcn.00435d87
mov eax, dword [ebx + 0x10]
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x4367a7
mov edx, dword [edx]
push eax
lea eax, [ecx + 2]
mov ecx, edi
add eax, esi
mov edx, dword [edx + 0x10]
push eax
call fcn.00436475
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 0x20]
jl 0x436760
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
push ecx
mov ecx, esi
push dword [eax + 0x18]
push 0x38
pop edx
call fcn.00409192
mov eax, dword [ebp - 8]
mov ecx, esi
inc eax
push eax
push dword [ebp - 0x20]
push 0x38
pop edx
call fcn.00409192
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
push 0xfffffffffffffff9
pop edx
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
push eax
push dword [ecx + 0x20]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x28]
push 0xb
pop edx
call fcn.00409258
mov edx, dword [ebp - 0x2c]
add esp, 0x24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov byte [edx + 0x1c], 0
mov dword [ebx + 0x30], eax
cmp byte [ecx + 0x31], 0
push 0x32
pop eax
lea ecx, [eax + 0x74]
cmovne eax, ecx
mov ecx, esi
mov byte [ebx + 0x2d], al
call fcn.0040950e
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebx + 0x34], eax
mov dword [ebp - 0x18], ecx
js 0x436920
imul eax, dword [ebx + 0x38], 0xc
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xc], edx
cmp ecx, 0x10
jge 0x43686c
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x436869
mov ecx, ebx
call fcn.00435c70
jmp 0x436910
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
test byte [edx + 0xc], al
je 0x436913
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x45], 0
jne 0x4368ac
mov eax, dword [ebp - 4]
mov ecx, esi
mov edx, dword [ebx + 0x3c]
sub eax, 0xc
mov dword [ebp - 4], eax
mov edx, dword [edx + eax + 4]
call fcn.00409912
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.0040910e
add esp, 0xc
xor eax, eax
mov ecx, edi
push eax
push eax
push 0x4e
pop edx
call fcn.00417154
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43690d
mov ecx, dword [ebp - 0xc]
mov edx, 0x9d
push 0
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x64]
call fcn.004170c9
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
je 0x4368ff
mov ecx, dword [ebp - 0x18]
add ecx, 2
add ecx, dword [ebp - 8]
push 0
mov dword [eax + 0x1c], ecx
push dword [ebx + 0x18]
push esi
push edi
call fcn.0041a9f2
add esp, 0x10
mov ecx, dword [ebp - 0x64]
mov edx, esi
and dword [esi + 0xc], 0
call fcn.004174e2
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
dec ecx
mov dword [ebp - 0x18], ecx
jns 0x43683e
mov ecx, edi
call fcn.004194a2
jmp 0x43771f
mov eax, edx
and eax, 0x100
je 0x4369a9
test dl, 5
je 0x4369a9
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
push ecx
push ebx
mov ecx, edi
call fcn.00435d87
mov edx, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edx
je 0x43696f
mov ecx, edi
call fcn.0041b41a
mov eax, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1f
pop edx
call fcn.0040910e
mov esi, dword [ebp - 4]
add esp, 0xc
xor eax, eax
mov edx, esi
inc eax
mov ecx, edi
push eax
call fcn.004196ff
mov edx, dword [ebp - 0x28]
pop ecx
push esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.004193d8
add esp, 8
jmp 0x4376e9
test eax, eax
je 0x436bbd
test dl, 2
je 0x436bbd
push 0x20
pop eax
mov dword [ebp - 0x20], 0xa6
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
test al, dl
je 0x4369e2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
xor eax, eax
lea ecx, [eax + 1]
jmp 0x4369e5
mov ecx, dword [ebp - 4]
test dl, 0x10
je 0x4369f8
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
jmp 0x4369fb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x436a07
mov dword [ebp - 0x18], esi
mov esi, ecx
test esi, esi
je 0x436ab5
mov edx, dword [esi]
mov dword [ebp - 8], 0x1a18191b
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0x10]
call fcn.00416c26
mov ecx, edi
test eax, eax
je 0x436a5a
call fcn.0041b3fb
mov edx, dword [edx + 0x10]
xor ecx, ecx
inc ecx
mov dword [ebp - 0xc], eax
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.00436475
mov edx, dword [ebp - 4]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
sub ecx, 0x4f
or ecx, eax
movzx edx, byte [ebp + ecx - 8]
jmp 0x436a84
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x4c]
push eax
call fcn.0041a42e
pop ecx
mov edx, esi
mov dword [ebp - 0x3c], eax
mov ecx, ebx
call fcn.00435c70
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
movzx ecx, byte [edx]
movzx edx, byte [ebp + ecx - 0x57]
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x58]
push dword [ebp - 0x28]
call fcn.0040910e
mov edx, dword [ebp - 0x3c]
add esp, 0xc
xor eax, eax
mov ecx, edi
inc eax
push eax
call fcn.004196ff
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
call fcn.0041b41a
jmp 0x436ad2
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
test eax, eax
push dword [ebp - 0x28]
push 0x25
pop edx
push 0x21
pop ecx
cmovne edx, ecx
mov ecx, esi
call fcn.00409192
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x436b4e
mov eax, dword [eax]
xor edx, edx
inc dword [edi + 0x2c]
inc edx
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00436475
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00416c26
test eax, eax
jne 0x436b28
mov al, byte [edx]
cmp al, 0x51
je 0x436b16
cmp al, 0x4f
jne 0x436b28
cmp dword [ebp - 0x30], 0
push 0x52
pop edx
push 0x50
pop eax
cmovne edx, eax
mov dword [ebp - 0x20], edx
jmp 0x436b38
cmp dword [ebp - 0x30], 0
push 0x4f
pop eax
push 0x51
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
call fcn.00416c26
test eax, eax
jne 0x436b4e
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00435c70
mov ecx, esi
call fcn.0040950e
cmp dword [ebp - 0x30], 0
mov dword [ebx + 0x34], eax
sete cl
add cl, 6
cmp dword [ebp - 0x20], 0xa6
mov byte [ebx + 0x2d], cl
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x30], ecx
je 0x43771f
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 0x1c]
push 0x7b
pop edx
call fcn.00409192
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004193d8
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x10]
call fcn.0040910e
mov ecx, dword [ebp - 0x1c]
add esp, 0x1c
push 0x53
pop edx
call fcn.0040962b
jmp 0x43771f
test edx, 0x200
je 0x4371bc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x24], ecx
movzx esi, word [eax + 0x18]
mov dword [ebp - 8], esi
movzx esi, word [eax + 0x1a]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x5d], cl
mov ecx, dword [eax + 0x20]
movzx esi, si
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], esi
movzx esi, word [eax + 0x1c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], esi
movzx esi, si
mov dword [ebp - 0x54], esi
test byte [ecx + 0x2c], 1
mov esi, dword [ebp - 0x1c]
je 0x436c39
cmp byte [ecx + 0x2f], 0
mov ecx, dword [ebp - 8]
jle 0x436c3c
mov esi, dword [ebp - 0x5c]
cmp word [esi + 0x32], cx
mov esi, dword [ebp - 0x1c]
jbe 0x436c3c
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x24], 1
jmp 0x436c3c
mov ecx, dword [ebp - 8]
movzx ecx, cx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], ecx
test dl, 0x20
je 0x436c75
mov eax, dword [eax + 0x30]
mov edi, ecx
mov eax, dword [eax + edi*4]
inc edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x24]
cmp edi, eax
cmovle edi, eax
mov eax, edi
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test dl, 0x10
je 0x436d1e
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
movzx eax, ax
cmp edx, eax
cmovle edx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], edx
mov edx, 0x100
test word [eax + 0xa], dx
je 0x436ceb
mov eax, dword [edi + 0x2c]
mov ecx, esi
inc eax
push eax
mov dword [edi + 0x2c], eax
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.00409192
pop ecx
pop ecx
mov ecx, esi
call fcn.0040950e
shl dword [ebx + 0x24], 1
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x30]
or dword [ebx + 0x24], ecx
mov ecx, edx
cmp dword [ebp - 0x48], 0
jne 0x436d1e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
test edx, edx
js 0x436d13
mov eax, dword [ebp - 0x5c]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x436d18
cmp edx, 0xfffffffe
jne 0x436d1e
xor eax, eax
inc eax
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 8]
movzx eax, word [edx + 0x32]
mov dword [ebp - 0xc], eax
cmp cx, ax
jae 0x436d4d
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
cmp byte [edx + eax], cl
mov edx, dword [ebp - 0x30]
sete cl
cmp edx, ecx
je 0x436d59
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x436d50
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x436d84
cmp ax, cx
jne 0x436d84
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], ecx
movzx ecx, si
mov esi, dword [ebp - 0x1c]
movzx eax, al
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
push dword [ebp - 0x24]
push edx
mov edx, ebx
call fcn.004361a2
mov ecx, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x436dba
cmp word [ebp - 0x54], 0
je 0x436dba
mov edx, dword [ebp - 0x34]
lea edx, [edx + ecx]
mov ecx, dword [ebp - 0x64]
call fcn.003f2789
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x436dd4
test byte [eax + 0xc], 0x28
jne 0x436dd4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
jmp 0x436ddc
xor ecx, ecx
inc ecx
mov dword [ebp - 0x44], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x436df1
test byte [edx + 0xc], 0x28
jne 0x436df1
xor edx, edx
mov dword [ebp - 0x10], ecx
inc edx
jmp 0x436df7
xor edx, edx
inc edx
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x436e04
mov dword [ebp - 0xc], ecx
cmp word [ebp - 8], ax
jbe 0x436e07
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x436eab
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
movzx ecx, cx
mov eax, dword [eax + 0x10]
push ecx
mov dword [ebp - 0x74], edx
mov ecx, edi
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.00436475
push dword [ebp - 0x48]
mov esi, dword [ebp - 0x1c]
mov edx, ebx
mov ecx, esi
call fcn.00436393
mov ecx, dword [ebp - 8]
add esp, 0xc
call fcn.0041813b
test eax, eax
je 0x436e64
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x74]
push 0x4b
pop edx
call fcn.00409192
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x436e80
mov eax, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
movzx edx, ax
call fcn.00435d33
pop ecx
mov ecx, dword [ebp - 0x20]
movzx eax, cx
mov ecx, dword [ebp - 8]
add dword [ebp - 0x24], eax
call fcn.00416c26
test eax, eax
jne 0x436ea1
mov edx, dword [ebp - 0x48]
mov ecx, ebx
call fcn.00435c70
jmp 0x436ea7
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
xor al, al
jmp 0x436ed5
mov al, byte [ebp - 0x11]
test al, al
je 0x436ed5
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push ecx
push 0x3b
pop edx
mov ecx, esi
call fcn.00409192
inc dword [ebp - 0x24]
xor eax, eax
and dword [ebp - 0x44], 0
inc eax
pop ecx
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 0x11]
pop ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
movzx eax, al
sub ecx, eax
push ecx
mov ecx, edi
call fcn.00435cd8
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x436efe
cmp dword [ebp - 0x24], eax
je 0x436f28
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0x40]
movzx edx, byte [ecx + eax*2 + 0x4a68f8]
mov ecx, esi
call fcn.0040930f
add esp, 0x10
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x436fe9
mov eax, dword [eax]
xor ecx, ecx
inc ecx
push ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0xc], eax
call fcn.00419460
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
pop ecx
movzx eax, ax
mov ecx, edi
push eax
push dword [ebp - 0xc]
call fcn.00436475
push dword [ebp - 0x50]
mov edx, ebx
mov ecx, esi
call fcn.00436393
mov ecx, dword [ebp - 0x44]
add esp, 0xc
call fcn.0041813b
test eax, eax
je 0x436f93
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0xc]
push 0x4b
pop edx
call fcn.00409192
pop ecx
pop ecx
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x436fc0
mov ecx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
movzx edx, ax
call fcn.00435d33
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x58]
movzx eax, cx
mov ecx, edi
push eax
call fcn.00435cd8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
movzx eax, cx
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x34], eax
call fcn.00416c26
test eax, eax
jne 0x436fe1
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.00435c70
jmp 0x43700b
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x43700b
cmp byte [ebp - 0x5d], 0
je 0x43700b
mov eax, dword [ebp - 0x34]
mov ecx, esi
add eax, dword [ebp - 0x18]
push eax
push 0
push 0x3b
pop edx
call fcn.00409192
and dword [ebp - 0x10], 0
inc dword [ebp - 0x34]
pop ecx
pop ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
call fcn.003f2404
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
call fcn.003f2404
mov ecx, esi
call fcn.0040950e
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x437054
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x4c]
push dword [ebp - 0x40]
movzx edx, byte [eax + ecx*2 + 0x4a8f0c]
mov ecx, esi
call fcn.0040930f
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x43715e
mov edx, dword [ebp - 0x5c]
push 0x20
pop eax
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], al
jne 0x4370dc
mov ecx, dword [ebp - 0x38]
mov esi, 0x400
movzx eax, word [ecx + 0x2c]
test esi, eax
jne 0x43709d
test eax, 0x1000
je 0x43708b
xor eax, eax
inc eax
cmp byte [ecx + 0x31], al
je 0x43709d
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call fcn.004363c7
pop ecx
pop ecx
jmp 0x43715e
inc dword [edi + 0x2c]
mov edx, 0x81
mov esi, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x40]
call fcn.00409192
mov edx, dword [ebp - 0x28]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004193d8
mov ecx, dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x28]
push 0x20
pop eax
mov edx, eax
call fcn.0040910e
add esp, 0x1c
jmp 0x43715e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
je 0x43715e
call fcn.0041e23e
mov ecx, edi
mov dword [ebp - 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.0041b45d
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dx, word [eax + 0x32]
jae 0x437145
mov ebx, eax
xor edi, edi
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 4]
mov dx, word [eax + edi*2]
call fcn.0041e256
cwde
mov ecx, esi
push eax
push dword [ebp - 0x40]
push 0x60
pop edx
call fcn.0040910e
movzx eax, word [ebx + 0x32]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
inc edi
cmp edi, eax
jl 0x43710b
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x32]
push eax
push ecx
push dword [ebp - 0x7c]
mov ecx, esi
push dword [ebp - 0x28]
push 0x1d
pop edx
call fcn.0040930f
add esp, 0x10
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x5c]
call fcn.00436531
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
test dword [ecx + 0x24], 0x1000
je 0x437183
mov byte [ebx + 0x2d], 0xa6
jmp 0x43718f
cmp dword [ebp - 0x30], 0
sete al
add al, 6
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebx + 0x30], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [ebx + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x4371a9
mov byte [ebx + 0x2f], dl
cmp dword [ebp - 4], 0
je 0x43771f
and dword [ebp - 0x5c], 0
jmp 0x43771f
test edx, 0x2000
je 0x4376e1
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x34], eax
inc eax
inc dword [edi + 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x58], ecx
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.0040935e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x30], ecx
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 0x2d], 0x34
mov cl, byte [ecx + 0x2e]
cmp cl, 1
jbe 0x4372f4
movzx ecx, cl
sub ecx, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 4], ecx
imul ecx, ecx, 0x50
push eax
add ecx, 0x58
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.003f260a
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x437259
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x437966
mov al, byte [ebp - 4]
inc al
movzx eax, al
push 0x50
mov dword [ecx + 4], eax
mov dword [ecx], eax
pop eax
push eax
push dword [ebp - 0x10]
lea eax, [ecx + 8]
push eax
call fcn.0044ac70
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, 8
inc eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 4], eax
jl 0x4372c5
mov esi, dword [ebp - 0x40]
lea edi, [ebx + 0x7c]
mov ebx, dword [ebp - 4]
add esi, 0x58
push 0x50
pop eax
push eax
movzx eax, byte [edi]
imul eax, eax, 0x50
add eax, ecx
push eax
push esi
call fcn.0044ac70
mov ecx, dword [ebp - 0x74]
add esp, 0xc
push 0x50
pop eax
add edi, eax
add esi, eax
dec ebx
jne 0x43729c
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
xor eax, eax
mov ecx, dword [ebp - 0x38]
test byte [ecx + 0x2c], 0x10
jne 0x43733c
push 0x20
pop ecx
test byte [edx + 0x24], cl
jne 0x4372ff
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
push eax
mov dword [ebp - 0x20], ecx
mov ecx, esi
push 0x3b
pop edx
call fcn.00409192
pop ecx
pop ecx
jmp 0x437333
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x40], ecx
jmp 0x4372ca
mov ecx, edx
call fcn.0041e23e
mov esi, eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
push 0x6c
pop edx
call fcn.00409192
pop ecx
pop ecx
mov edx, esi
mov ecx, edi
call fcn.004098f7
mov esi, dword [ebp - 0x1c]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0xc]
mov ecx, esi
push 0
push 0x38
pop edx
call fcn.00409192
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov eax, dword [ebp - 0x6c]
inc ecx
cmp dword [eax + 0xc], ecx
jle 0x4373f6
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [eax + 0xc], edx
jle 0x4373f6
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp eax, dword [ebp - 0x2c]
je 0x4373bd
test byte [esi + 4], 1
jne 0x4373bd
test byte [eax + 0xa], 6
jne 0x4373bd
mov esi, 0x1fff
test word [eax + 0xc], si
je 0x4373bd
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
push ebx
call fcn.00417837
pop ecx
mov ecx, dword [ebp - 0x64]
mov edx, edi
push eax
call fcn.00417248
mov edx, dword [ebp - 4]
mov edi, eax
pop ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
inc edx
add ecx, 0x30
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
cmp edx, dword [eax + 0xc]
jl 0x437376
mov ebx, dword [ebp - 0x3c]
test edi, edi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x78]
je 0x4373f6
mov ecx, dword [ebp - 0x48]
mov edx, 0x147
push ecx
push 0
mov ecx, edi
call fcn.00417154
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov ecx, 0x400
mov edx, dword [ebp - 0x68]
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
or ax, cx
movzx eax, ax
mov dword [ebp - 0x74], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x44], ecx
cmp dword [edx + 0xc], eax
jle 0x437670
or dword [ebp - 0x90], 0xffffffff
mov esi, dword [ebp - 0x28]
imul ecx, ecx, 0x30
add ecx, dword [edx + 0x14]
cmp dword [ecx + 0x14], esi
mov esi, dword [ebp - 0x1c]
je 0x43744e
mov esi, 0x400
test word [ecx + 0xc], si
mov esi, dword [ebp - 0x1c]
je 0x437660
mov edx, dword [ebp - 0x48]
mov ecx, dword [ecx]
mov dword [ebp - 4], eax
test edx, edx
je 0x437465
test byte [ecx + 4], 1
jne 0x437465
mov dword [edx + 0xc], ecx
mov ecx, edx
push dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
push dword [ebp - 0x74]
push eax
push eax
push ecx
mov ecx, edi
call fcn.0043d016
add esp, 0x14
mov dword [ebp - 0x88], eax
test eax, eax
je 0x43765b
movzx ecx, byte [ebx + 0x2c]
mov edx, dword [ebp - 0x40]
push 0
push ecx
push dword [ebp - 0x4c]
lea ecx, [eax + 0x2f0]
push ecx
mov ecx, edi
call fcn.00435a0b
mov eax, dword [ebp - 0x38]
add esp, 0x10
test byte [eax + 0x2c], 0x10
jne 0x4375de
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x90]
push 0x20
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, dword [ebp - 0x54]
cmove ecx, edx
mov dword [ebp - 0x10], ecx
pop ecx
test byte [eax + 0x24], cl
jne 0x437507
push 0
push dword [ebp - 0x58]
mov ecx, edi
push dword [ebp - 0x28]
push edx
mov edx, eax
call fcn.004195f1
push dword [ebp - 0x10]
mov ecx, esi
push eax
push 0
push dword [ebp - 0x20]
push 0x2b
pop edx
call fcn.0040930f
add esp, 0x20
mov dword [ebp - 4], eax
jmp 0x4375de
mov ecx, eax
call fcn.0041e23e
mov ecx, edi
mov dword [ebp - 0x84], eax
movzx edx, word [eax + 0x32]
mov dword [ebp - 8], edx
call fcn.0041b45d
and dword [ebp - 0x8c], 0
mov ecx, eax
mov dword [ebp - 0x18], ecx
test edx, edx
jle 0x43756c
mov ebx, dword [ebp - 0x8c]
mov esi, edx
mov eax, dword [ebp - 0x84]
add ecx, ebx
mov edx, dword [ebp - 0x54]
push ecx
push dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov ecx, edi
movsx eax, word [eax + ebx*2]
push eax
call fcn.0041968c
mov ecx, dword [ebp - 0x18]
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x43753a
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43758f
push edx
push ecx
push 0
push dword [ebp - 0x20]
mov ecx, esi
push 0x1e
pop edx
call fcn.0040930f
mov dword [ebp - 4], eax
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
js 0x4375d0
push dword [ebp - 0x58]
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push 0x63
pop edx
call fcn.0040910e
add esp, 0xc
mov ecx, esi
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp - 0x58]
push dword [ebp - 0x20]
push 0x7e
pop edx
call fcn.0040930f
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x4375d0
push 0x10
pop edx
mov ecx, esi
call fcn.0040962b
push dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0041b493
pop ecx
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0xc]
push 0xe
pop edx
call fcn.00409192
mov eax, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
je 0x437600
mov edx, eax
mov ecx, esi
call fcn.00409643
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x24]
push 1
pop ecx
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x330]
mov dword [ebp - 0x24], eax
test dword [ecx + 0x24], 0x200
je 0x437650
cmp dword [ebp - 0x44], 0
je 0x437633
mov eax, dword [ebp - 0x50]
cmp dword [ecx + 0x20], eax
jne 0x437650
mov eax, dword [ebp - 0x54]
test byte [eax + 0x24], 0x20
je 0x437648
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x437650
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x50], eax
jmp 0x437654
and dword [ebp - 0x50], 0
mov ecx, edx
call fcn.0043d836
mov edx, dword [ebp - 0x68]
xor eax, eax
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [edx + 0xc]
jl 0x43742b
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0x38], ecx
test ecx, ecx
je 0x437680
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x437694
mov dword [ecx + 0xc], eax
mov edx, ecx
mov ecx, dword [ebp - 0x64]
call fcn.004174e2
mov ecx, esi
call fcn.0040950e
mov edx, dword [ebp - 0x70]
push eax
call fcn.004095fb
mov edx, dword [ebx + 0xc]
pop ecx
mov ecx, esi
call fcn.004091a7
mov edx, dword [ebp - 0x30]
mov ecx, esi
call fcn.004093a0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2e], cl
jbe 0x4376cf
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x64]
call fcn.003f2404
cmp dword [ebp - 0x24], 0
jne 0x43771f
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
call fcn.00435c70
jmp 0x43771f
push 0x20
pop eax
test byte [ebp - 0x70], al
je 0x4376ef
mov byte [ebx + 0x2d], 0xa6
jmp 0x43771f
mov ecx, dword [ebp - 0x30]
push dword [ebp - 0xc]
mov al, byte [ecx + 0x4a5ecc]
movzx edx, byte [ecx + 0x4a69a8]
mov ecx, esi
mov byte [ebx + 0x2d], al
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebx + 0x30], eax
call fcn.00409192
inc eax
mov dword [ebx + 0x34], eax
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
pop ecx
pop ecx
xor edx, edx
cmp dword [ebp - 0x5c], edx
sete dl
inc edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 8], eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
jmp 0x43780a
xor ecx, ecx
mov dword [ebp - 4], ecx
movzx ecx, word [esi + 0xa]
test cl, 6
jne 0x437800
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
je 0x43776e
mov eax, dword [ebp - 0x38]
xor ecx, ecx
inc ecx
mov byte [eax + 0x32], cl
jmp 0x4377fd
mov eax, dword [esi]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], eax
cmp dword [ebx], 0
je 0x437780
test byte [eax + 4], cl
je 0x4377fd
cmp edx, ecx
jne 0x4377a2
push dword [ebp - 0x5c]
mov edx, dword [ebx + 4]
mov ecx, eax
call fcn.0041b048
pop ecx
test eax, eax
jne 0x437830
push 2
pop eax
mov dword [ebp - 8], eax
jmp 0x437800
cmp edx, 3
jl 0x437833
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x4377d4
mov eax, dword [ebx + 0x24]
shr eax, 1
test byte [ebx + 0x24], cl
mov ecx, dword [ebp - 0x1c]
push eax
push 0
pop edx
setne dl
add edx, 0x15
call fcn.0040917e
pop ecx
mov dword [ebp - 4], eax
push 0x10
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push edi
call fcn.0041a9f2
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x4377f6
mov ecx, dword [ebp - 0x1c]
mov edx, eax
call fcn.00409643
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
dec ecx
add esi, 0x30
mov dword [ebp - 0xc], ecx
test ecx, ecx
jg 0x43773e
mov edx, eax
mov dword [ebp - 0x3c], edx
test eax, eax
jg 0x43772b
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
jmp 0x4378df
xor ecx, ecx
inc ecx
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x4377af
mov eax, dword [ebp - 8]
test eax, eax
jne 0x437800
push 3
jmp 0x43779c
test byte [esi + 0xa], 6
jne 0x4378db
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4378db
test ecx, 0x800
je 0x4378db
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x14], ecx
jne 0x4378db
cmp dword [ebx], 0
jne 0x4378db
mov eax, dword [esi]
mov edx, ecx
mov ecx, dword [ebp - 0x6c]
push 0
push 0x83
push dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
push dword [ebp + 8]
push dword [esi + 0x1c]
call fcn.0043968e
add esp, 0x14
test eax, eax
je 0x4378d8
test byte [eax + 0xa], 4
jne 0x4378d8
mov esi, dword [eax]
lea edi, [ebp - 0xc0]
mov eax, dword [ebp - 0x70]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0x78]
push 0x10
push dword [ebp - 0x7c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.0041a9f2
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x3c]
dec eax
add esi, 0x30
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], esi
test eax, eax
jg 0x437850
cmp dword [ebx], 0
je 0x437960
mov ecx, dword [ebp - 0x1c]
call fcn.0040950e
push dword [ebx]
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x38
pop edx
call fcn.00409192
pop ecx
pop ecx
mov ecx, edi
call fcn.004196be
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edx
jle 0x437960
test byte [esi + 0xa], 6
jne 0x437954
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x48]
and eax, dword [ebx + 0x4c]
or ecx, eax
jne 0x437951
push 0x10
push dword [ebp - 0x7c]
push dword [esi]
push edi
call fcn.0041a9f2
mov edx, dword [ebp - 0x80]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
mov eax, dword [ebp - 0x6c]
inc edx
add esi, 0x30
mov dword [ebp - 0x80], edx
cmp edx, dword [eax + 0xc]
jl 0x437921
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret