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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x439720
sub esp, 0xc4
mov ebp, dword [esp + 0xc8]
test byte [ebp], al
mov edx, dword [esp + 0xd0]
cmp edx, 0x10000
ja 0x439715
mov esi, dword [esp + 0xcc]
test byte [esi], al
mov ecx, edx
shl edx, 1
lea ebx, [ecx - 0x20000]
neg ebx
mov eax, ebx
neg ebx
sar ebx, 0x1f
and edx, ebx
mov ebx, esi
add esi, edx
cmp ecx, eax
ja 0x43970c
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], esi
xor eax, eax
jmp 0x4383f1
inc eax
mov edx, edi
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0x78]
cmp eax, ecx
jge 0x438467
jae 0x439707
mov edi, edx
lea edx, [eax + eax*2]
lea esi, [ebp + edx*8]
shl edx, 3
mov ebx, dword [ebp + edx]
test ebx, ebx
jne 0x4383e3
movzx edx, word [ebp + edx + 8]
cmp dx, 3
je 0x4383e3
mov edx, dword [0x98ef80]
test edx, edx
jne 0x43843e
mov edx, edi
mov edi, esi
mov ebx, eax
xor eax, eax
call fcn.0045057a
mov eax, ebx
mov ecx, dword [esp + 0xd0]
mov edi, edx
jmp 0x4383e3
mov dword [esp + 0x44], eax
lea eax, [0x693740]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.004105b0
xor eax, eax
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xc8]
jmp 0x438431
mov edi, dword [0x98eda4]
test edi, edi
mov eax, edx
seta dl
mov esi, dword [0x98eda0]
test esi, esi
xchg esi, ebx
seta bl
xchg esi, ebx
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, esi
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4395a9
xor edx, edx
xor esi, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov edi, 1
jmp 0x4384ca
mov word [ebx + eax*2], bp
mov word [ebx + edx*2], ax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0xc8]
mov edi, esi
mov esi, dword [esp + 0x20]
cmp edi, ecx
jge 0x438547
mov dword [esp + 0x38], edi
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
lea esi, [edi + 1]
mov ebp, dword [edx + 0x90]
mov dword [esp + 0x28], ebp
mov edi, dword [edx + 0x94]
shl ebp, 0x11
mov ebx, dword [esp + 0x28]
xor ebp, ebx
mov ebx, edi
xor edi, ebp
shr ebp, 7
xor ebp, edi
mov edi, ebx
shr ebx, 0x10
xor ebx, ebp
lea ebp, [edi + ebx]
mov eax, ebp
mov ebp, edx
mul esi
mov dword [ebp + 0x90], edi
mov dword [ebp + 0x94], ebx
cmp edx, ecx
jae 0x4396f7
mov ebx, dword [esp + 0xcc]
movzx ebp, word [ebx + edx*2]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jb 0x4384ad
jmp 0x4396f2
mov edi, dword [esp + 0x78]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
jmp 0x438600
movzx ebx, word [esp + 0x1e]
mov word [edi + edx*2], bx
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x54]
mov ebx, dword [esp + 0xcc]
mov esi, edx
mov edx, dword [esp + 0x54]
test edx, edx
jle 0x4385c6
lea ebx, [edx - 1]
shr ebx, 0x1f
lea ebx, [edx + ebx - 1]
sar ebx, 1
cmp ebx, ecx
jae 0x4396dd
mov dword [esp + 0x54], ebx
movzx ebx, word [edi + ebx*2]
mov word [esp + 0x1e], bx
movzx ebx, bx
cmp ebx, ecx
jae 0x4396d6
lea ebx, [ebx + ebx*2]
shl ebx, 3
mov ebx, dword [ebp + ebx]
cmp ebx, esi
jae 0x4385c6
cmp edx, ecx
jb 0x43855e
jmp 0x4396cf
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0xcc]
movzx ebp, word [esi + ebx*2]
cmp edx, ecx
jae 0x4396c8
mov word [edi + edx*2], bp
lea edx, [ebx + 1]
mov ebx, dword [esp + 0xc8]
mov ebx, esi
mov ebp, dword [esp + 0xc8]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
cmp edx, ecx
jge 0x438630
jae 0x4396eb
movzx esi, word [ebx + edx*2]
cmp esi, ecx
jae 0x4396e4
lea esi, [esi + esi*2]
shl esi, 3
mov esi, dword [ebp + esi]
mov dword [esp + 0x90], esi
jmp 0x43857f
lea edx, [ecx - 1]
jmp 0x438726
mov word [edi + edx*2], bx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
mov ebp, esi
mov esi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
shl ebx, 1
lea esi, [ebx + 1]
cmp esi, edx
jge 0x43877c
mov dword [esp + 0x2c], esi
lea ebp, [ebx + 2]
cmp ebp, edx
jge 0x438773
cmp esi, ecx
jae 0x4396b3
movzx edx, word [edi + ebx*2 + 2]
cmp edx, ecx
jae 0x4396ac
lea edx, [edx + edx*2]
shl edx, 3
mov esi, dword [esp + 0xc8]
mov edx, dword [edx + esi]
cmp ebp, ecx
jae 0x4396a5
movzx ebx, word [edi + ebx*2 + 4]
cmp ebx, ecx
jae 0x43969e
lea ebx, [ebx + ebx*2]
shl ebx, 3
mov ebx, dword [ebx + esi]
cmp edx, ebx
jae 0x43876a
mov edx, dword [esp + 0x84]
cmp ebp, ecx
jae 0x439697
mov dword [esp + 0x2c], ebp
movzx ebx, word [edi + ebp*2]
movzx ebp, bx
cmp ebp, ecx
jae 0x439690
lea ebp, [ebp + ebp*2]
shl ebp, 3
mov ebp, dword [esi + ebp]
cmp edx, ebp
jae 0x4386ff
mov edx, dword [esp + 0x30]
cmp edx, ecx
jb 0x438638
jmp 0x439689
mov edx, dword [esp + 0x30]
cmp edx, ecx
jae 0x439682
movzx ebx, word [esp + 0x1c]
mov word [edi + edx*2], bx
mov edx, dword [esp + 0x40]
dec edx
mov ebx, dword [esp + 0xcc]
mov ebp, esi
mov esi, dword [esp + 0x20]
test edx, edx
jl 0x438783
cmp edx, ecx
jae 0x4396c1
movzx esi, word [edi + edx*2]
mov word [esp + 0x1c], si
movzx esi, si
cmp esi, ecx
jae 0x4396ba
mov dword [esp + 0x40], edx
lea esi, [esi + esi*2]
shl esi, 3
mov esi, dword [ebp + esi]
mov dword [esp + 0x84], esi
movzx ebx, word [ebx + eax]
mov word [edi + edx*2], bx
xor ebx, ebx
jmp 0x438653
mov ebp, dword [esp + 0x2c]
jmp 0x4386be
mov esi, dword [esp + 0xc8]
jmp 0x43876a
mov esi, ebp
jmp 0x4386ff
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004381c0
jmp 0x4394da
inc eax
mov edx, dword [esp + 0xd0]
mov ebp, edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x80], ecx
cmp eax, edx
jge 0x438c2e
jae 0x43967b
mov edi, ebp
movzx ebp, word [ebp + eax*2]
cmp ebp, edx
jae 0x439672
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ebp
lea edx, [ebp + ebp*2]
lea ebp, [ebx + edx*8]
mov dword [esp + 0xa4], ebp
shl edx, 3
mov dword [esp + 0x50], edx
mov ebp, dword [ebx + edx]
mov dword [esp + 0x8c], ebp
movzx edx, word [ebx + edx + 8]
cmp dx, 1
ja 0x438a9d
test dx, dx
je 0x4387a4
test byte [ebp], al
lea eax, [ebp + 0x28]
mov dword [esp], eax
call fcn.004053b0
mov eax, dword [esp + 4]
test eax, eax
jne 0x4389f7
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx]
test ebx, ebx
ja 0x438943
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x438869
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0xcc]
mov esi, ecx
mov ecx, eax
mov eax, dword [esp + 0x3c]
jmp 0x4387a4
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.00438250
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + eax + 4]
test eax, eax
jne 0x438928
mov eax, dword [esp + 0xa4]
xor ecx, ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [eax + 0x10]
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov eax, dword [eax + 0x14]
test eax, eax
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
and esi, ebp
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4388f5
mov dword [esp + 0xd4], edx
mov byte [esp + 0xd8], cl
add esp, 0xc4
ret
mov byte [esp + 0x1b], cl
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x20]
sub ebx, ecx
mov dword [esp], ebx
mov ecx, dword [esp + 0x24]
sbb eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00424310
movzx ecx, byte [esp + 0x1b]
mov edx, dword [esp + 0x48]
jmp 0x4388e0
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004105b0
jmp 0x4388aa
nop
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + eax + 4]
movzx ebx, word [edx + 0xc]
imul ebx, dword [edx + 0x1c]
add ebx, dword [edx + 8]
test eax, eax
jne 0x4389d0
mov eax, dword [edx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004105b0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x1c]
inc ecx
mov dword [eax + 0x1c], ecx
cmp dword [eax + 4], ecx
jne 0x43898b
mov dword [eax + 0x1c], 0
dec dword [eax]
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00438250
mov eax, dword [esp + 0xa4]
mov ecx, 1
mov edx, dword [esp + 0x54]
jmp 0x4388b7
mov dword [esp + 0x60], ebx
mov ecx, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00410180
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x60]
jmp 0x438962
mov dword [esp + 0x70], eax
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00450579
lea ecx, [0x44e360]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x50]
mov ecx, dword [ecx + edx + 4]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00405110
mov eax, dword [esp + 0xa4]
mov ecx, 1
mov edx, dword [esp + 0x54]
jmp 0x4388b7
cmp dx, 2
je 0x438ac2
cmp dx, 3
jne 0x438ab9
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x54]
jmp 0x43884e
mov eax, ecx
mov ecx, esi
jmp 0x43884e
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x439633
lea eax, [ebp + 0x20]
mov dword [esp], eax
call fcn.004053b0
mov eax, dword [esp + 4]
test eax, eax
jne 0x438b8b
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx + 4]
cmp dword [edx], ebx
jb 0x438b02
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x48]
jmp 0x43884e
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc8]
mov ecx, dword [ebx + ecx + 4]
movzx ebp, word [edx + 0xc]
imul ebp, dword [edx + 0x18]
add ebp, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00410180
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x18]
inc ecx
mov dword [eax + 0x18], ecx
cmp dword [eax + 4], ecx
jne 0x438b49
mov dword [eax + 0x18], 0
inc dword [eax]
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00438250
mov eax, dword [esp + 0xa4]
xor ecx, ecx
mov edx, dword [esp + 0x54]
jmp 0x4388b7
mov dword [esp + 0x70], eax
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00450579
lea ecx, [0x44e3b0]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x50]
mov ecx, dword [ecx + edx + 4]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004046d0
mov eax, dword [esp + 0xa4]
xor ecx, ecx
mov edx, dword [esp + 0x54]
jmp 0x4388b7
test ecx, ecx
jne 0x439577
mov esi, dword fs:[0x14]
mov esi, dword [esi]
mov eax, ebp
mov ebp, dword [esi + 0xb4]
test ebp, ebp
jne 0x43961d
mov dword [esp + 0x7c], esi
lea ebp, [esi + 0xb4]
mov dword [esp + 0xa0], ebp
mov ecx, dword [esp + 0x78]
mov edi, ebp
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov ebp, edi
jmp 0x438c81
mov esi, dword [esp + 0x54]
inc esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x7c]
mov esi, dword [esp + 0x54]
cmp esi, edx
jge 0x438f9e
movzx esi, word [ecx + esi*2]
cmp esi, edx
jae 0x439614
lea esi, [esi + esi*2]
shl esi, 3
mov dword [esp + 0x50], esi
movzx esi, word [ebx + esi + 8]
test si, si
je 0x438c74
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx + eax]
mov dword [esp + 0x88], ecx
call fcn.0042cae0
mov eax, dword [esp]
test byte [eax], al
mov ecx, dword [esp + 0x20]
test ecx, ecx
setne dl
mov ebx, dword [esp + 0x24]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [0x98ef80]
or ebp, edx
test esi, esi
jne 0x438f88
mov edx, dword [esp + 0x7c]
mov dword [eax], edx
mov dword [esp + 0x68], eax
mov byte [eax + 4], 1
mov esi, dword [0x98ef80]
mov edi, ebx
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + ebx + 4]
test esi, esi
jne 0x438f6f
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x438d41
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
mov edx, dword [0x98ef80]
test edx, edx
jne 0x438f4f
mov edx, dword [esp + 0x88]
mov dword [eax + 0x34], edx
mov ebp, dword [esp + 0x74]
test byte [ebp], al
mov esi, dword [0x98ef80]
test esi, esi
jne 0x438f3f
mov dword [ebp], eax
mov ebp, dword [esp + 0xc8]
movzx ebx, word [ebp + ebx + 8]
cmp bx, 1
jne 0x438e6b
test byte [edx], al
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x438e52
mov dword [eax + 8], 0
lea ebx, [edx + 0x24]
mov esi, dword [edx + 0x24]
test esi, esi
je 0x438e11
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x438de7
mov dword [eax + 0xc], esi
mov dword [esi + 8], eax
mov dword [edx + 0x24], eax
lea esi, [eax + 0x2c]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xd0]
mov ebx, ebp
mov edi, dword [esp + 0xa0]
mov ebp, esi
jmp 0x438c74
lea edx, [eax + 0xc]
mov ebx, edi
mov edi, edx
mov eax, esi
call fcn.004502f0
lea edi, [eax + 8]
mov eax, dword [esp + 0x68]
call fcn.004502f0
mov edi, dword [esp + 0x9c]
call fcn.004502f0
mov edi, ebx
jmp 0x438dc2
mov esi, dword [0x98ef80]
test esi, esi
jne 0x438e2a
mov dword [eax + 0xc], 0
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
jmp 0x438dc2
lea esi, [eax + 0xc]
mov edi, esi
xor eax, eax
call fcn.004502f0
lea edi, [edx + 0x20]
mov eax, dword [esp + 0x68]
call fcn.004502f0
mov edi, ebx
call fcn.004502f0
mov edi, dword [esp + 0x24]
jmp 0x438dc2
lea ebx, [eax + 8]
mov esi, edi
mov edi, ebx
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x68]
mov edi, esi
jmp 0x438d9e
cmp bx, 2
jne 0x438dc2
test byte [edx], al
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x438f26
mov dword [eax + 8], 0
lea ebx, [edx + 0x2c]
mov esi, dword [edx + 0x2c]
test esi, esi
je 0x438ee2
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x438eb5
mov dword [eax + 0xc], esi
mov dword [esi + 8], eax
mov dword [edx + 0x2c], eax
jmp 0x438dc2
lea edx, [eax + 0xc]
mov ebx, edi
mov edi, edx
mov eax, esi
call fcn.004502f0
lea edi, [eax + 8]
mov eax, dword [esp + 0x68]
call fcn.004502f0
mov edi, dword [esp + 0x9c]
call fcn.004502f0
mov edi, ebx
jmp 0x438dc2
mov esi, dword [0x98ef80]
test esi, esi
jne 0x438efe
mov dword [eax + 0xc], 0
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], eax
jmp 0x438dc2
lea esi, [eax + 0xc]
mov edi, esi
xor eax, eax
call fcn.004502f0
lea edi, [edx + 0x28]
mov eax, dword [esp + 0x68]
call fcn.004502f0
mov edi, ebx
call fcn.004502f0
mov edi, dword [esp + 0x24]
jmp 0x438dc2
lea ebx, [eax + 8]
mov esi, edi
mov edi, ebx
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x68]
mov edi, esi
jmp 0x438e8c
mov esi, edi
mov edi, ebp
call fcn.004502f0
mov edi, esi
jmp 0x438d71
lea ebp, [eax + 0x34]
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x88]
call fcn.004502f0
mov edx, eax
mov edi, dword [esp + 0x24]
mov eax, esi
jmp 0x438d59
lea esi, [eax + 0x10]
mov edi, esi
mov eax, edx
call fcn.004502f0
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x24]
jmp 0x438d1f
mov edi, eax
mov eax, dword [esp + 0x7c]
call fcn.004502f0
mov eax, edi
mov edx, dword [esp + 0x7c]
jmp 0x438cf5
mov ebp, dword [esp + 0x7c]
test byte [ebp], al
lea esi, [ebp + 0x44]
mov dword [esp + 0x98], esi
mov ecx, dword [0x98ef80]
test ecx, ecx
jne 0x439569
mov dword [ebp + 0x44], 0
lea eax, [0x6d5a70]
mov dword [esp], eax
mov dword [esp + 4], 0
mov word [esp + 8], 0x1809
mov dword [esp + 0xc], 1
call fcn.0042c950
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004381c0
mov eax, dword [esp + 0x7c]
mov dword [eax + 0xcc], 0
mov ecx, dword [eax + 0x44]
mov edx, dword [0x98ef80]
test edx, edx
jne 0x439552
mov dword [eax + 0x44], 0
mov edx, dword [eax + 0xb4]
mov ebx, edx
jmp 0x43904a
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x439086
mov byte [edx + 4], 0
mov ebp, dword [0x98ef80]
test ebp, ebp
jne 0x43906c
mov dword [edx + 0x10], 0
mov dword [edx + 0x34], 0
jmp 0x439047
lea edi, [edx + 0x10]
mov ebp, eax
xor eax, eax
call fcn.004502f0
lea edi, [edx + 0x34]
xor eax, eax
call fcn.004502f0
mov eax, ebp
jmp 0x439047
mov edx, dword [0x98ef80]
test edx, edx
jne 0x43953f
mov dword [eax + 0xb4], 0
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xc8]
xor eax, eax
xor edi, edi
mov eax, 0xffffffff
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x4390dc
inc eax
mov ebp, dword [esp + 0x78]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x80], edi
cmp eax, ebp
jge 0x4394d6
movzx edx, word [edx + eax*2]
cmp edx, ebp
jae 0x43960b
mov dword [esp + 0x54], edx
lea edx, [edx + edx*2]
lea ebp, [esi + edx*8]
mov dword [esp + 0xa4], ebp
shl edx, 3
movzx ebp, word [esi + edx + 8]
test bp, bp
jne 0x43911b
mov edx, dword [esp + 0x48]
jmp 0x4390c8
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ebx
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x4c], ebp
test ebp, ebp
setg cl
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
seta dl
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4394cd
mov ecx, dword [esp + 0x50]
mov dword [esi + ecx + 0x10], ebx
mov edx, dword [esp + 0x4c]
mov dword [esi + ecx + 0x14], edx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x94]
cmp edx, ebx
jne 0x4391db
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x80], ecx
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x6c], ebx
mov esi, dword [0x98ef80]
test esi, esi
jne 0x4391cd
mov dword [edx + 0x2c], 0
mov dword [esp], edx
call fcn.0042cdf0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0xc8]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x48]
jmp 0x4390c8
lea esi, [edx + 0x2c]
mov edi, esi
xor eax, eax
call fcn.004502f0
jmp 0x43919f
mov ebp, dword [esi + ecx]
movzx ecx, word [esi + ecx + 8]
cmp cx, 2
jne 0x439364
test byte [ebp], al
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
lea esi, [edx + 8]
test ecx, ecx
je 0x4392ca
mov dword [esp + 0xa0], esi
lea esi, [edx + 0xc]
test ebx, ebx
je 0x43927e
mov ebp, dword [0x98ef80]
test ebp, ebp
jne 0x439246
mov dword [ecx + 8], ebx
mov dword [ebx + 0xc], ecx
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0xc8]
mov ecx, edi
mov ebp, dword [esp + 0x48]
jmp 0x43917c
lea ebp, [ecx + 8]
mov edi, ebp
mov eax, ebx
call fcn.004502f0
lea edi, [eax + 0xc]
mov eax, ecx
call fcn.004502f0
mov edi, dword [esp + 0xa0]
xor eax, eax
call fcn.004502f0
mov edi, esi
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x43929b
mov dword [ecx + 8], 0
mov dword [ebp + 0x2c], ecx
mov dword [edx + 0xc], 0
jmp 0x43922d
lea ebx, [ecx + 8]
mov edi, ebx
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x2c]
mov eax, ecx
call fcn.004502f0
mov edi, esi
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
test ebx, ebx
je 0x43931d
mov ecx, dword [0x98ef80]
test ecx, ecx
jne 0x4392ee
mov dword [ebx + 0xc], 0
mov dword [ebp + 0x28], ebx
mov dword [edx + 8], 0
jmp 0x43922d
lea ecx, [ebx + 0xc]
mov edi, ecx
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x28]
mov eax, ebx
call fcn.004502f0
mov edi, esi
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
cmp dword [ebp + 0x28], edx
jne 0x43922d
mov ecx, dword [0x98ef80]
test ecx, ecx
jne 0x439343
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
jmp 0x43922d
lea ecx, [ebp + 0x28]
mov ebx, edi
mov edi, ecx
mov esi, eax
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x2c]
call fcn.004502f0
mov eax, esi
mov edi, ebx
jmp 0x43922d
test byte [ebp], al
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 8]
lea esi, [edx + 8]
test ecx, ecx
je 0x439433
mov dword [esp + 0xa0], esi
lea esi, [edx + 0xc]
test ebx, ebx
je 0x4393e4
mov ebp, dword [0x98ef80]
test ebp, ebp
jne 0x4393a9
mov dword [ecx + 8], ebx
mov dword [ebx + 0xc], ecx
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
jmp 0x43922d
lea ebp, [ecx + 8]
mov edi, ebp
mov eax, ebx
call fcn.004502f0
lea edi, [eax + 0xc]
mov eax, ecx
call fcn.004502f0
mov edi, dword [esp + 0xa0]
xor eax, eax
call fcn.004502f0
mov edi, esi
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
mov ebx, dword [0x98ef80]
test ebx, ebx
jne 0x439404
mov dword [ecx + 8], 0
mov dword [ebp + 0x24], ecx
mov dword [edx + 0xc], 0
jmp 0x43922d
lea ebx, [ecx + 8]
mov edi, ebx
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x24]
mov eax, ecx
call fcn.004502f0
mov edi, esi
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
test ebx, ebx
je 0x439486
mov ecx, dword [0x98ef80]
test ecx, ecx
jne 0x439457
mov dword [ebx + 0xc], 0
mov dword [ebp + 0x20], ebx
mov dword [edx + 8], 0
jmp 0x43922d
lea ecx, [ebx + 0xc]
mov edi, ecx
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x20]
mov eax, ebx
call fcn.004502f0
mov edi, esi
xor eax, eax
call fcn.004502f0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x80]
jmp 0x43922d
cmp dword [ebp + 0x20], edx
jne 0x43922d
mov ecx, dword [0x98ef80]
test ecx, ecx
jne 0x4394ac
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
jmp 0x43922d
lea ecx, [ebp + 0x20]
mov ebx, edi
mov edi, ecx
mov esi, eax
xor eax, eax
call fcn.004502f0
lea edi, [ebp + 0x24]
call fcn.004502f0
mov eax, esi
mov edi, ebx
jmp 0x43922d
mov ecx, dword [esp + 0x50]
jmp 0x43915e
test edi, edi
jne 0x4394fa
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
xor eax, eax
xor ecx, ecx
xor esi, esi
jmp 0x4387ae
movzx eax, word [edi + 8]
mov word [esp + 0x1e], ax
cmp ax, 1
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.00438250
movzx eax, word [esp + 0x1e]
cmp ax, 1
sete cl
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x48]
jmp 0x4388b7
mov edi, dword [esp + 0xa0]
xor eax, eax
call fcn.004502f0
jmp 0x43909e
mov edi, dword [esp + 0x98]
mov edx, eax
xor eax, eax
call fcn.004502f0
mov eax, edx
jmp 0x43903d
mov edi, esi
xor eax, eax
call fcn.004502f0
jmp 0x438fc4
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.00438250
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov edx, dword [esp + 0x48]
jmp 0x4388b7
call fcn.0044fee0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xd0]
xor ebp, ebp
jmp 0x4395e3
lea esi, [ebp + ebp*2]
mov edi, esi
shl esi, 3
mov dword [edx + esi + 0x10], 0xffffffff
lea esi, [edx + edi*8]
mov dword [esi + 0x14], 0xffffffff
inc ebp
cmp ebp, ebx
jge 0x4395ee
jb 0x4395c7
jmp 0x4396fe
mov ebx, dword [esp + 0xcc]
mov ebp, edx
mov edx, ecx
mov esi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xd0]
jmp 0x43849e
mov eax, edx
mov ecx, ebp
call fcn.00450370
mov eax, esi
mov ecx, edx
call fcn.00450370
lea eax, [0x6bd867]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0042aa00
mov dword [esp], ebx
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00438250
lea eax, [0x677ce0]
mov dword [esp], eax
lea eax, [0x71aad8]
mov dword [esp + 4], eax
call fcn.0042a4d0
mov eax, ebp
mov ecx, edx
call fcn.00450370
mov ecx, edx
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, ebp
call fcn.00450370
mov eax, ebp
call fcn.00450370
mov eax, ebx
call fcn.00450370
mov eax, ebp
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, esi
call fcn.00450370
mov eax, esi
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, edx
call fcn.00450370
mov eax, ebx
call fcn.00450370
mov eax, ebx
call fcn.00450370
mov eax, esi
call fcn.00450370
mov eax, edx
call fcn.00450370
call fcn.00450370
mov eax, edx
call fcn.00450380
mov eax, ebp
mov ecx, ebx
call fcn.00450370
call fcn.00450370
mov edx, ecx
mov ebx, eax
call fcn.00450410
mov ebx, 0x10000
call fcn.004503f0
nop
call fcn.0044eab0
jmp fcn.00438370