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

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov edx, 1
shl edx, cl
push ebx
push ebp
mov ebp, dword [eax + 4]
sub edx, 1
mov dword [esp + 0x94], edx
mov ecx, ebp
mov edx, 1
shl edx, cl
mov ecx, dword [eax + 0x14]
mov ebx, dword [esp + 0xb0]
push esi
sub edx, 1
mov dword [esp + 0x90], edx
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x38]
mov esi, dword [eax + 0x20]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x28], 0xffffffff
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x28]
push edi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
mov dword [ebx], 0
je 0x440d8a
cmp dword [esp + 0x44], 0
jne 0x43fdc7
mov al, byte [eax + 0x4c]
lea ebx, [esp + 0x60]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], 1
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x2c]
cmp eax, 0xfffffffe
jne 0x43febe
mov ecx, dword [esp + 0x64]
add ecx, ebp
mov eax, 0x300
shl eax, cl
add eax, 0x736
je 0x43fdfc
mov edi, dword [esp + 0x3c]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov eax, 1
mov byte [edx + ebx - 1], cl
xor edi, edi
or esi, 0xffffffff
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
xor ebp, ebp
mov edi, edi
cmp ecx, dword [esp + 0x14]
jne 0x43fe7a
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
je 0x43feae
movzx eax, byte [ecx]
shl edi, 8
add ecx, 1
add ebp, 1
or edi, eax
cmp ebp, 5
mov dword [esp + 0x10], ecx
jl 0x43fe40
mov edx, dword [esp + 0x44]
mov al, byte [edx + ebx - 1]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1f], al
jmp 0x43ff38
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
test eax, eax
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
je 0x43ff1e
lea ebx, [ebx]
cmp ebp, dword [esp + 0xb4]
jae 0x43ff1a
mov ecx, dword [esp + 0x44]
mov eax, edx
sub eax, dword [esp + 0x20]
cmp eax, ecx
jb 0x43fee9
add eax, ecx
mov al, byte [eax + ebx]
mov ecx, dword [esp + 0xb0]
mov byte [edx + ebx], al
add edx, 1
mov byte [ecx + ebp], al
add ebp, 1
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], edx
jne 0x43ff13
xor edx, edx
mov dword [esp + 0x30], edx
sub dword [esp + 0x2c], 1
jne 0x43fed0
mov ecx, dword [esp + 0x10]
test edx, edx
jne 0x43ff30
mov edx, dword [esp + 0x44]
mov al, byte [edx + ebx - 1]
mov byte [esp + 0x1f], al
jmp 0x43ff38
mov dl, byte [edx + ebx - 1]
mov byte [esp + 0x1f], dl
cmp ebp, dword [esp + 0xb4]
jae 0x440cca
jmp 0x43ff50
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x28], eax
and eax, dword [esp + 0x9c]
mov edx, ebp
shl edx, 4
add edx, eax
cmp esi, 0x1000000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
lea ebx, [eax + edx*2]
mov dword [esp + 0x18], ebx
jae 0x43ffdd
cmp ecx, dword [esp + 0x14]
jne 0x43ffcb
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x440d8c
mov eax, dword [esp + 0xa0]
test eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
je 0x43feae
movzx eax, byte [ecx]
shl edi, 8
shl esi, 8
or edi, eax
add ecx, 1
mov dword [esp + 0x10], ecx
movzx ecx, word [ebx]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x4402ae
mov esi, eax
mov eax, 0x800
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 5
add eax, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
movzx eax, byte [esp + 0x1f]
mov ecx, 8
sub cl, dl
shr eax, cl
mov ecx, edx
mov edx, dword [esp + 0x3c]
mov ebx, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
and eax, dword [esp + 0x94]
shl eax, cl
mov ecx, dword [esp + 0x24]
add ecx, eax
imul ecx, ecx, 0x600
cmp ebp, 7
lea eax, [ecx + edx + 0xe6c]
mov dword [esp + 0x18], eax
jl 0x440140
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jb 0x440068
add eax, ecx
mov ecx, dword [esp + 0x48]
movzx edx, byte [eax + ecx]
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
add ebp, ebp
mov dword [esp + 0x28], ebp
and ebp, 0x100
cmp esi, 0x1000000
lea eax, [ebx + ebp]
lea edx, [ecx + eax*2 + 0x200]
mov dword [esp + 0x24], edx
jae 0x4400f2
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x4400e0
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x74]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ecx, word [edx]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x4401d6
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
add ebx, ebx
test ebp, ebp
mov word [ecx], ax
je 0x4401f7
cmp ebx, 0x100
jge 0x44022a
jmp 0x440140
cmp esi, 0x1000000
lea ebp, [ebx + ebx]
jae 0x4401a5
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x440193
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x8c]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + ebp]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x440205
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx + ebp], ax
add ebx, ebx
jmp 0x44021e
mov dx, cx
shr dx, 5
sub esi, eax
sub edi, eax
mov eax, dword [esp + 0x24]
sub cx, dx
test ebp, ebp
mov word [eax], cx
lea ebx, [ebx + ebx + 1]
je 0x44012b
cmp ebx, 0x100
jl 0x440074
jmp 0x44022a
mov dx, cx
sub esi, eax
sub edi, eax
mov eax, dword [esp + 0x18]
shr dx, 5
sub cx, dx
mov word [eax + ebp], cx
lea ebx, [ebp + 1]
cmp ebx, 0x100
jl 0x440140
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb0]
mov byte [eax + ecx], bl
mov ecx, dword [esp + 0x44]
add eax, 1
cmp dword [esp + 0x40], ecx
mov byte [esp + 0x1f], bl
mov dword [esp + 0x38], eax
jae 0x440252
add dword [esp + 0x40], 1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov byte [eax + edx], bl
add eax, 1
cmp eax, ecx
mov dword [esp + 0x30], eax
jne 0x440270
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x34]
cmp eax, 4
jge 0x440283
mov dword [esp + 0x34], 0
jmp 0x44028f
cmp eax, 0xa
jge 0x4402a9
sub eax, 3
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb4]
cmp dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
jb 0x43ff50
jmp 0x440cca
sub eax, 6
jmp 0x44028b
sub esi, eax
sub edi, eax
mov ax, cx
shr ax, 5
sub cx, ax
cmp esi, 0x1000000
mov word [ebx], cx
jae 0x44031b
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x440309
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x7c]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x3c]
movzx ecx, word [ebx + ebp*2 + 0x180]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x44037d
mov esi, eax
mov eax, 0x800
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 5
add eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
xor ecx, ecx
cmp ebp, 7
setl cl
mov word [ebx + ebp*2 + 0x180], ax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
sub ecx, 1
and ecx, 3
add ebx, 0x664
jmp 0x440704
mov dx, cx
shr dx, 5
sub esi, eax
sub cx, dx
sub edi, eax
cmp esi, 0x1000000
mov word [ebx + ebp*2 + 0x180], cx
jae 0x4403ef
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x4403dd
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov eax, ebx
movzx ecx, word [eax + ebp*2 + 0x198]
movzx edx, cx
mov ebx, esi
shr ebx, 0xb
imul ebx, edx
cmp edi, ebx
mov dword [esp + 0x28], ecx
jae 0x440562
mov ecx, 0x800
sub ecx, edx
sar ecx, 5
add ecx, dword [esp + 0x28]
lea edx, [ebp + 0xf]
shl edx, 4
add edx, dword [esp + 0x24]
cmp ebx, 0x1000000
mov word [eax + ebp*2 + 0x198], cx
lea ecx, [eax + edx*2]
mov esi, ebx
mov dword [esp + 0x18], ecx
jae 0x4404a1
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x440489
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x84]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl ebx, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov esi, ebx
mov edx, dword [esp + 0x18]
movzx ebx, word [edx]
movzx edx, bx
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp edi, ecx
jae 0x440548
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ebx
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
je 0x43feae
mov ecx, dword [esp + 0x30]
xor edx, edx
cmp ebp, 7
setge dl
mov eax, ecx
sub eax, dword [esp + 0x20]
lea edx, [edx + edx + 9]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
cmp eax, edx
jb 0x440500
add eax, edx
mov ebp, dword [esp + 0x48]
mov al, byte [eax + ebp]
mov byte [ecx + ebp], al
add ecx, 1
cmp ecx, edx
mov byte [esp + 0x1f], al
mov dword [esp + 0x30], ecx
jne 0x440521
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0xb0]
mov byte [ecx + ebp], al
add ecx, 1
cmp ebx, edx
mov dword [esp + 0x38], ecx
jae 0x44028f
add dword [esp + 0x40], 1
jmp 0x44028f
mov edx, dword [esp + 0x18]
sub esi, ecx
sub edi, ecx
mov cx, bx
shr cx, 5
sub bx, cx
mov word [edx], bx
jmp 0x4406ed
mov dx, cx
shr dx, 5
sub esi, ebx
sub cx, dx
sub edi, ebx
cmp esi, 0x1000000
mov word [eax + ebp*2 + 0x198], cx
jae 0x4405d8
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x4405c2
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
movzx ebx, word [eax + ebp*2 + 0x1b0]
movzx edx, bx
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp edi, ecx
jae 0x44060e
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
sar ecx, 5
add ecx, ebx
mov word [eax + ebp*2 + 0x1b0], cx
mov ecx, dword [esp + 0x4c]
jmp 0x4406e1
mov dx, bx
shr dx, 5
sub esi, ecx
sub bx, dx
sub edi, ecx
cmp esi, 0x1000000
mov word [eax + ebp*2 + 0x1b0], bx
jae 0x440684
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x44066e
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x70]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
movzx ebx, word [eax + ebp*2 + 0x1c8]
movzx edx, bx
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp edi, ecx
jae 0x4406b7
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
sar ecx, 5
add ecx, ebx
mov word [eax + ebp*2 + 0x1c8], cx
mov ecx, dword [esp + 0x50]
jmp 0x4406d9
mov dx, bx
shr dx, 5
sub esi, ecx
sub edi, ecx
mov ecx, dword [esp + 0x54]
sub bx, dx
mov edx, dword [esp + 0x50]
mov word [eax + ebp*2 + 0x1c8], bx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp ebp, 7
setge cl
lea ebx, [eax + 0xa68]
sub ecx, 1
and ecx, 0xfffffffd
add ecx, 0xb
cmp esi, 0x1000000
mov dword [esp + 0x34], ecx
jae 0x440764
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x440752
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
movzx ecx, word [ebx]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x4407a4
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
mov word [ebx], ax
mov eax, dword [esp + 0x24]
shl eax, 4
lea ebx, [eax + ebx + 4]
mov dword [esp + 0x18], 0
mov eax, 3
jmp 0x44087e
mov dx, cx
shr dx, 5
sub esi, eax
sub cx, dx
sub edi, eax
cmp esi, 0x1000000
mov word [ebx], cx
jae 0x440817
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x440805
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 2]
movzx edx, ax
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
cmp edi, ecx
jae 0x440859
mov esi, ecx
mov ecx, 0x800
sub ecx, edx
sar ecx, 5
add ecx, eax
mov eax, dword [esp + 0x24]
shl eax, 4
mov word [ebx + 2], cx
lea ebx, [eax + ebx + 0x104]
mov dword [esp + 0x18], 8
mov eax, 3
jmp 0x44087e
mov dx, ax
shr dx, 5
sub ax, dx
mov word [ebx + 2], ax
sub esi, ecx
sub edi, ecx
add ebx, 0x204
mov dword [esp + 0x18], 0x10
mov eax, 8
mov ebp, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
nop
add ebp, ebp
cmp esi, 0x1000000
jae 0x4408f4
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x4408e2
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x88]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
movzx ecx, word [ebx + ebp]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x440921
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
mov word [ebx + ebp], ax
mov ebp, dword [esp + 0x2c]
add ebp, ebp
jmp 0x440936
mov dx, cx
shr dx, 5
sub cx, dx
sub esi, eax
sub edi, eax
mov word [ebx + ebp], cx
add ebp, 1
sub dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebp
jne 0x440890
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, 1
shl edx, cl
sub eax, edx
add ebp, eax
cmp dword [esp + 0x34], 4
mov dword [esp + 0x2c], ebp
jge 0x440c2e
add dword [esp + 0x34], 7
cmp ebp, 4
jl 0x440976
mov ebp, 3
mov eax, dword [esp + 0x3c]
shl ebp, 7
lea ecx, [eax + ebp + 0x360]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 6
mov ebx, 1
cmp esi, 0x1000000
lea ebp, [ebx + ebx]
jae 0x4409fa
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jne 0x4409e8
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + ebp]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x440a2b
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
mov ecx, dword [esp + 0x18]
mov word [ecx + ebp], ax
add ebx, ebx
jmp 0x440a44
mov dx, cx
sub esi, eax
sub edi, eax
mov eax, dword [esp + 0x18]
shr dx, 5
sub cx, dx
mov word [eax + ebp], cx
lea ebx, [ebp + 1]
sub dword [esp + 0x28], 1
jne 0x440995
sub ebx, 0x40
cmp ebx, 4
jl 0x440c1f
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov edx, ebx
sar ecx, 1
and edx, 1
sub ecx, 1
or edx, 2
cmp ebx, 0xe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jge 0x440aa0
shl edx, cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
sub edx, ebx
lea ebp, [ecx + edx*2 + 0x55e]
mov ecx, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
jmp 0x440b64
sub ecx, 4
mov dword [esp + 0x18], ecx
cmp esi, 0x1000000
jae 0x440b0d
cmp eax, dword [esp + 0x14]
jne 0x440af3
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x98]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
mov edx, dword [esp + 0x20]
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x18]
shl esi, 8
add eax, 1
mov dword [esp + 0x10], eax
shr esi, 1
add edx, edx
cmp edi, esi
mov dword [esp + 0x20], edx
jb 0x440b22
sub edi, esi
or edx, 1
mov dword [esp + 0x20], edx
sub ecx, 1
mov dword [esp + 0x18], ecx
jne 0x440aa7
mov ebp, dword [esp + 0x3c]
add ebp, 0x644
mov ecx, 1
shl edx, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
jmp 0x440b64
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
add ebx, ebx
cmp esi, 0x1000000
jae 0x440bc2
cmp eax, dword [esp + 0x14]
jne 0x440bb0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x440d8c
mov ecx, dword [esp + 0x5c]
test ecx, ecx
mov eax, dword [esp + 0x10]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
je 0x43feae
movzx ecx, byte [eax]
shl edi, 8
shl esi, 8
or edi, ecx
add eax, 1
mov dword [esp + 0x10], eax
movzx ecx, word [ebx + ebp]
movzx edx, cx
mov eax, esi
shr eax, 0xb
imul eax, edx
cmp edi, eax
jae 0x440bed
mov esi, eax
mov eax, 0x800
sub eax, edx
sar eax, 5
add eax, ecx
shl dword [esp + 0x24], 1
mov word [ebx + ebp], ax
jmp 0x440c0e
mov dx, cx
shr dx, 5
sub cx, dx
sub esi, eax
sub edi, eax
mov eax, dword [esp + 0x28]
mov word [ebx + ebp], cx
add ebx, 1
or dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
shl dword [esp + 0x28], 1
sub dword [esp + 0x18], 1
jne 0x440b60
jmp 0x440c23
mov dword [esp + 0x20], ebx
add dword [esp + 0x20], 1
je 0x440cbe
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
add eax, 2
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
ja 0x43feae
mov ebx, dword [esp + 0x44]
mov edx, ebx
sub edx, ecx
cmp edx, eax
jbe 0x440c5b
add ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x440c5f
mov dword [esp + 0x40], ebx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov eax, ecx
sub eax, dword [esp + 0x20]
cmp eax, ebx
jb 0x440c73
add eax, ebx
mov ebp, dword [esp + 0x48]
mov al, byte [eax + ebp]
mov byte [ecx + ebp], al
add ecx, 1
cmp ecx, ebx
mov byte [esp + 0x1f], al
mov dword [esp + 0x30], ecx
jne 0x440c92
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0xb0]
sub dword [esp + 0x2c], 1
mov byte [edx + ebp], al
add edx, 1
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x38], edx
je 0x44028f
cmp edx, dword [esp + 0xb4]
jb 0x440c67
jmp 0x440cc6
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x10]
cmp esi, 0x1000000
jae 0x440d1e
cmp ecx, dword [esp + 0x14]
jne 0x440d10
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x440d8c
mov eax, dword [esp + 0x5c]
test eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
je 0x43feae
movzx eax, byte [ecx]
shl edi, 8
shl esi, 8
or edi, eax
add ecx, 1
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x38]
add edx, esi
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x3c], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x40], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x48], edx
mov dl, byte [esp + 0x60]
mov byte [eax + 0x4c], dl
mov edx, dword [esp + 0xb8]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x24], edi
mov dword [eax + 0x18], ecx
mov dword [edx], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret