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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x17c
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x74]
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x110], eax
js 0x44fb74
mov eax, dword [ebp - 0x110]
mov dl, byte [eax + 0xc]
test dl, dl
je 0x44fb88
jmp 0x44fba8
mov eax, dword [ebp - 0x110]
call fcn.0042b192
test eax, eax
je 0x44fb65
jmp 0x451652
mov eax, dword [ebp - 0x110]
imul ecx, dword [eax + 0x14], 3
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x28]
add eax, eax
cmp ecx, eax
jle 0x451652
mov eax, dword [ebp - 0x114]
movsx eax, byte [eax + 0x44]
test eax, eax
mov dword [ebp - 0x14c], eax
jne 0x44fd6d
test dl, dl
je 0x451652
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
test eax, eax
je 0x44fc07
cmp dword [ebp - 0x114], eax
je 0x44fc32
cmp byte [eax], 0
jne 0x44fc32
mov esi, dword [ebp - 0x114]
mov esi, dword [esi + 0x74]
cmp dword [eax + 0x74], esi
jne 0x44fc32
mov eax, 0x12f24
call fcn.0042aea7
test eax, eax
mov ebx, eax
jne 0x451654
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], 0
mov ebx, dword [eax + 0x34]
mov eax, dword [eax + 0x48]
call fcn.0044b89f
test eax, eax
mov dword [ebp - 0x84], eax
jne 0x44fcaa
jmp 0x44fc37
mov eax, dword [eax + 0x18]
jmp 0x44fbd4
mov eax, dword [ebp - 0x110]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x70]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, ebx
call fcn.0044e4e5
test eax, eax
mov dword [ebp - 0x84], eax
jne 0x44fc76
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x84]
call fcn.0044ed15
cmp byte [ebx + 0x11], 0
je 0x44fca1
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x58]
mov ecx, 5
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, ebx
call fcn.0044eafa
cmp dword [ebp - 0x84], 0
je 0x44fccf
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x7c], 0
mov eax, dword [ebp - 0x70]
call fcn.004034cc
mov ebx, dword [ebp - 0x84]
test ebx, ebx
jne 0x451654
jmp 0x44fd3d
mov esi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x70]
movzx ecx, byte [esi + 0xc]
lea edx, [eax + 0x1c]
lea esi, [esi + 0x1c]
mov edi, edx
lea edx, [eax + 0x24]
add ecx, ecx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x110]
mov edi, edx
lea esi, [esi + 0x24]
movzx ecx, byte [esi - 0x18]
shl ecx, 2
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x110]
mov dl, byte [esi + 0xc]
mov byte [eax + 0xc], dl
mov eax, dword [eax + 0x38]
movzx edx, byte [eax]
mov eax, esi
and edx, 0xfffffff7
call fcn.0042afb2
mov edi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x58]
movzx edx, byte [edi + 9]
mov ecx, dword [edi + 0x38]
bswap eax
mov edi, dword [ebp - 0x114]
mov dword [ecx + edx + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x114]
mov esi, dword [ebp - 0x110]
mov edi, dword [ebp - 0x114]
mov byte [eax + 0x44], 1
mov word [eax + 0x46], 0
mov word [eax + 0x48], 0
mov dword [eax + 0x78], esi
mov eax, dword [eax + 0x7c]
mov dword [edi + 0x74], eax
jmp 0x44fb50
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x20], 1
jle 0x44fd8d
mov eax, 0x12f60
call fcn.0042aea7
mov ebx, eax
jmp 0x451648
mov esi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + esi*4 + 0x74]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x114]
mov si, word [eax + esi*2 + 0x46]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x48]
call fcn.0044b89f
test eax, eax
mov ebx, eax
jne 0x451616
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 0x14], 0
js 0x44fdec
movzx eax, si
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x110]
cmp byte [eax + 2], 0
jne 0x44fe02
jmp 0x450058
mov eax, dword [ebp - 0x10c]
call fcn.0042b192
test eax, eax
mov ebx, eax
je 0x44fdd2
jmp 0x451616
mov eax, dword [ebp - 0x110]
cmp byte [eax + 0xc], 1
jne 0x450058
mov esi, dword [ebp - 0x110]
mov eax, dword [eax + 0x1c]
cmp ax, word [esi + 0x18]
jne 0x450058
mov edi, dword [ebp - 0x10c]
cmp dword [edi + 4], 1
je 0x450058
movzx edx, word [edi + 0x18]
cmp dword [ebp - 0x124], edx
jne 0x450058
mov esi, dword [ebp - 0x110]
test ax, ax
mov ebx, dword [esi + 0x34]
jne 0x44fe64
mov eax, 0x12ae6
call fcn.0042aea7
mov ebx, eax
jmp 0x451616
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0xac]
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, ebx
call fcn.0044e4e5
test eax, eax
mov dword [ebp - 0x98], eax
jne 0x45004d
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x70], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call dword [eax + 0x4c]
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0xac]
mov edx, 0xd
call fcn.0042afb2
mov eax, dword [ebp - 0x110]
xor edx, edx
mov ecx, 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
lea eax, [ebp - 0x58]
call fcn.0042bbdb
test eax, eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xac]
jne 0x450048
movzx edx, word [eax + 0x12]
mov edi, dword [ebx + 0x28]
movzx ecx, word [ebp - 0xc0]
sub edi, edx
mov edx, edi
sub edx, ecx
sub edx, 2
mov dword [eax + 0x14], edx
cmp byte [ebx + 0x11], 0
je 0x44ff8d
mov eax, dword [ebp - 0x10c]
lea esi, [ebp - 0x98]
mov edx, dword [ebp - 0x84]
mov ecx, 5
mov dword [esp + 4], esi
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, ebx
call fcn.0044eafa
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0xc0]
cmp word [eax + 0x10], di
jae 0x44ff8d
mov ecx, dword [ebp - 0x70]
lea edx, [eax + 0x3c]
mov dword [esp], esi
call fcn.0044ebcf
mov eax, dword [ebp - 0x110]
mov esi, dword [ebp - 0x110]
movzx edx, word [eax + 0x18]
mov eax, dword [eax + 0x40]
movzx eax, word [eax + edx*2 - 2]
xchg al, ah
and ax, word [esi + 0x1a]
movzx eax, ax
add eax, dword [esi + 0x38]
mov dword [ebp - 0x70], eax
add eax, 9
mov edx, dword [ebp - 0x70]
lea ecx, [edx + 1]
mov dword [ebp - 0x70], ecx
cmp byte [edx], 0
jns 0x44ffc9
cmp eax, ecx
ja 0x44ffb7
lea eax, [ebp - 0xdd]
add edx, 0xa
mov ebx, dword [ebp - 0x70]
inc eax
lea ecx, [ebx + 1]
mov dword [ebp - 0x70], ecx
mov bl, byte [ebx]
test bl, bl
mov byte [eax - 1], bl
jns 0x44ffe9
cmp edx, ecx
ja 0x44ffd2
cmp dword [ebp - 0x98], 0
jne 0x450029
mov esi, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x110]
lea ecx, [ebp - 0xe1]
sub eax, ecx
movzx edx, word [esi + 0x18]
mov ebx, dword [edi + 4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, esi
mov dword [esp + 8], ebx
call fcn.0044f8b8
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x84]
movzx edx, byte [esi + 9]
mov ecx, dword [esi + 0x38]
bswap eax
mov dword [ecx + edx + 8], eax
mov eax, dword [ebp - 0xac]
call fcn.004034cc
mov ebx, dword [ebp - 0x98]
jmp 0x451616
mov eax, dword [ebp - 0x114]
mov ebx, 5
lea edi, [ebp - 0xfd]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x24]
call fcn.004158de
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x114]
mov ecx, ebx
mov dword [ebp - 0x108], 0
mov dl, byte [eax + 3]
xor eax, eax
cmp dword [ebp - 0x13c], 0
rep stosb byte es:[edi], al
lea edi, [ebp - 0x58]
mov ebx, ecx
mov ecx, 0x10
mov eax, ebx
mov ebx, 7
rep stosd dword es:[edi], eax
je 0x4515f6
mov eax, dword [ebp - 0x10c]
and edx, 1
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x154], dl
movzx ecx, byte [eax + 0xc]
movzx edx, word [eax + 0x18]
lea eax, [ecx + edx]
mov dword [ebp - 0x128], eax
dec eax
jle 0x450127
cmp dword [ebp - 0x124], 0
movzx ebx, byte [ebp - 0x154]
je 0x45011a
mov eax, dword [ebp - 0x124]
dec eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x128]
lea eax, [eax + ebx - 2]
cmovne eax, dword [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, 2
sub eax, ebx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov edi, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x11c]
sub eax, ecx
cmp edx, eax
mov edx, dword [edi + 0x38]
jne 0x450159
movzx eax, byte [edi + 9]
lea eax, [edx + eax + 8]
jmp 0x450171
mov esi, dword [ebp - 0x10c]
mov ecx, dword [esi + 0x40]
movzx eax, word [ecx + eax*2]
xchg al, ah
and ax, word [esi + 0x1a]
movzx eax, ax
add eax, edx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x128]
mov dword [ebp - 0x130], 0
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x158]
mov eax, dword [eax]
bswap eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x128]
shl eax, 2
mov dword [ebp - 0x168], eax
lea eax, [ebp + eax - 0xf0]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x108], 0
jne 0x4501f7
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x120]
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0042c08a
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x450209
lea ecx, [ebx*4 + 4]
jmp 0x45022d
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jns 0x450248
call fcn.0042b192
test eax, eax
mov dword [ebp - 0x108], eax
je 0x450248
lea ecx, [ebx*4]
lea edx, [ebp - 0xf0]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
mov dword [ebp - 0x118], 0
jmp 0x4515a5
mov eax, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x130]
dec ebx
cmp ebx, 0xffffffff
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
lea eax, [esi + eax + 4]
mov dword [ebp - 0x130], eax
je 0x4503c4
mov eax, dword [ebp - 0x10c]
movzx eax, byte [eax + 0xc]
test al, al
je 0x4502d1
mov edi, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x11c]
movzx ecx, word [edi + 0x1c]
lea edx, [esi + ebx]
cmp ecx, edx
jne 0x4502d1
mov eax, dword [edi + 0x24]
mov edx, dword [eax]
mov dword [ebp + ebx*4 - 0xf8], eax
mov dword [esp + 4], eax
mov dword [esp], edi
bswap edx
mov dword [ebp - 0x104], edx
call dword [edi + 0x4c]
movzx eax, ax
mov dword [ebp + ebx*4 - 0x98], eax
mov eax, dword [ebp - 0x10c]
mov byte [eax + 0xc], 0
sub dword [ebp - 0x12c], 4
jmp 0x4501c2
mov esi, dword [ebp - 0x11c]
lea edi, [esi + ebx]
mov edx, edi
mov dword [ebp - 0x134], edi
sub edx, eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x40]
movzx edx, word [eax + edx*2]
mov eax, dword [ebp - 0x10c]
xchg dl, dh
and dx, word [eax + 0x1a]
movzx edx, dx
add edx, dword [eax + 0x38]
mov eax, dword [edx]
mov dword [ebp + ebx*4 - 0xf8], edx
mov dword [esp + 4], edx
mov dword [ebp - 0x144], edx
bswap eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp], eax
call dword [eax + 0x4c]
movzx eax, ax
mov dword [ebp - 0x118], eax
mov dword [ebp + ebx*4 - 0x98], eax
mov eax, dword [ebp - 0x120]
test byte [eax + 0x18], 0xc
je 0x450393
mov edi, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x144]
mov esi, dword [ebp - 0x118]
mov eax, edx
sub eax, dword [edi + 0x38]
mov edi, dword [ebp - 0x120]
lea ecx, [esi + eax]
cmp ecx, dword [edi + 0x28]
jg 0x450393
add eax, dword [ebp - 0x13c]
mov esi, edx
mov ecx, dword [ebp - 0x118]
mov edi, eax
mov eax, dword [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
sub edx, dword [eax + 0x38]
add edx, dword [ebp - 0x13c]
mov dword [ebp + ebx*4 - 0xf8], edx
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x118]
movzx eax, byte [eax + 0xc]
sub edx, eax
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c]
call fcn.0042b7d9
jmp 0x4502c5
mov ebx, dword [ebp - 0x130]
mov edi, dword [ebp - 0x120]
add ebx, 3
and ebx, 0xfffffffc
imul eax, ebx, 6
add eax, dword [edi + 0x24]
cdq
call fcn.0041430a
test eax, eax
mov dword [ebp - 0x50], eax
jne 0x4503f8
mov dword [ebp - 0x108], 7
jmp 0x450239
lea eax, [eax + ebx*4]
add ebx, ebx
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x4c], eax
add eax, ebx
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x54], eax
movzx edx, byte [eax + 8]
movzx eax, byte [eax + 2]
lea esi, [edx*4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x128]
mov word [ebp - 0x144], si
add eax, 2
mov dword [ebp - 0x164], eax
movzx eax, si
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp + eax*4 - 0xf4]
mov eax, dword [edx + 0x38]
movzx ebx, word [edx + 0x18]
mov dword [ebp - 0x134], eax
mov ax, word [edx + 0x1a]
mov esi, dword [ebp - 0x134]
mov word [ebp - 0x15c], ax
movzx eax, word [edx + 0x12]
add eax, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x38]
mov al, byte [eax]
cmp byte [esi], al
je 0x4504ad
mov eax, 0x12c8b
jmp 0x4509d9
mov esi, dword [ebp - 0x58]
movzx ecx, byte [edx + 0xc]
xor eax, eax
add esi, esi
add esi, dword [ebp - 0x4c]
add ecx, ebx
add ecx, ecx
mov edi, esi
rep stosb byte es:[edi], al
cmp byte [edx + 0xc], 0
je 0x450572
movzx esi, word [edx + 0x1c]
cmp ebx, esi
mov word [ebp - 0x160], si
jl 0x4504e9
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x16c], eax
xor eax, eax
jmp 0x4504f3
mov eax, 0x12ca3
jmp 0x4509d9
cmp esi, ecx
jle 0x450525
mov eax, dword [ebp - 0x130]
mov edi, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x50]
movzx eax, word [eax + ecx*2]
add edi, ecx
inc ecx
xchg al, ah
and eax, dword [ebp - 0x15c]
movzx eax, ax
add eax, dword [ebp - 0x134]
mov dword [ebx + edi*4], eax
mov al, 1
jmp 0x4504f3
movzx ecx, word [ebp - 0x160]
mov edi, dword [ebp - 0x130]
mov ebx, dword [ebp - 0x16c]
lea edi, [edi + ecx*2]
add ebx, esi
test al, al
mov dword [ebp - 0x130], edi
je 0x45054a
mov dword [ebp - 0x58], ebx
mov edi, dword [ebp - 0x58]
xor ebx, ebx
xor eax, eax
movzx esi, byte [edx + 0xc]
lea ecx, [edi + eax]
cmp eax, esi
jge 0x45056b
mov esi, dword [edx + eax*4 + 0x24]
mov ebx, dword [ebp - 0x50]
inc eax
mov dword [ebx + ecx*4], esi
mov bl, 1
jmp 0x450551
test bl, bl
je 0x450572
mov dword [ebp - 0x58], ecx
movzx eax, word [edx + 0x18]
movzx edi, word [edx + 0x12]
mov ecx, dword [ebp - 0x58]
add eax, eax
lea ebx, [ecx*4]
add edi, eax
add edi, dword [ebp - 0x134]
xor eax, eax
mov esi, ecx
inc ecx
cmp edi, dword [ebp - 0x130]
jbe 0x4505c9
mov eax, dword [ebp - 0x130]
mov esi, dword [ebp - 0x50]
add dword [ebp - 0x130], 2
movzx eax, word [eax]
xchg al, ah
and eax, dword [ebp - 0x15c]
movzx eax, ax
add eax, dword [ebp - 0x134]
mov dword [esi + ebx], eax
add ebx, 4
mov al, 1
jmp 0x450590
test al, al
je 0x4505d0
mov dword [ebp - 0x58], esi
cmp dword [ebp - 0x12c], 0
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x58]
lea ecx, [esi - 1]
sete byte [ebp - 0x15c]
cmp dword [ebp - 0x128], ecx
mov dword [ebp + esi*4 - 0xb0], eax
jle 0x4506a0
cmp byte [ebp - 0x15c], 0
je 0x4506a0
mov ecx, dword [ebp + esi*4 - 0x9c]
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp + esi*4 - 0xfc]
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x150]
movzx ecx, cx
add eax, dword [ebp - 0x148]
add dword [ebp - 0x148], ecx
mov edi, eax
add eax, dword [ebp - 0x170]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x50]
mov dword [ebx + ecx*4], eax
lea eax, [ecx + ecx]
add eax, dword [ebp - 0x4c]
sub word [eax], si
cmp byte [edx + 8], 0
jne 0x45066c
mov eax, dword [ebp - 0x50]
mov edx, dword [edx + 0x38]
mov eax, dword [eax + ecx*4]
mov edx, dword [edx + 8]
mov dword [eax], edx
jmp 0x45069d
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x58]
cmp word [eax + edx*2], 3
ja 0x45069d
inc dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
mov edi, dword [ebp - 0x148]
mov byte [eax + edi - 1], 0
mov eax, dword [ebp - 0x58]
add eax, eax
add eax, dword [ebp - 0x4c]
inc word [eax]
jmp 0x45066c
inc dword [ebp - 0x58]
inc dword [ebp - 0x118]
mov esi, dword [ebp - 0x118]
cmp dword [ebp - 0x164], esi
jne 0x450459
mov eax, dword [ebp - 0x120]
mov esi, 1
xor ebx, ebx
mov edx, dword [eax + 0x28]
movzx eax, word [ebp - 0x144]
lea eax, [edx + eax - 0xc]
mov dword [ebp - 0x150], eax
mov edi, dword [ebp + esi*4 - 0xf4]
mov ecx, dword [ebp + esi*4 - 0xb0]
test ebx, ebx
mov eax, dword [edi + 0x3c]
mov dword [ebp + ebx*4 - 0x30], ecx
mov dword [ebp + ebx*4 - 0x48], eax
je 0x450700
cmp ecx, dword [ebp + ebx*4 - 0x34]
lea eax, [ebx - 1]
cmove ebx, eax
cmp dword [ebp - 0x12c], 0
jne 0x45071e
mov eax, dword [ebp - 0x10c]
inc ebx
mov eax, dword [eax + 0x3c]
mov dword [ebp + ebx*4 - 0x48], eax
lea eax, [ecx + 1]
mov dword [ebp + ebx*4 - 0x30], eax
mov eax, dword [ebp - 0x150]
sub eax, dword [edi + 0x14]
xor edx, edx
mov dword [ebp + esi*4 - 0x9c], eax
movzx eax, byte [edi + 0xc]
cmp edx, eax
jge 0x450776
mov eax, dword [edi + edx*4 + 0x24]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x118], edx
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x4c]
mov ecx, dword [ebp + esi*4 - 0x9c]
movzx eax, ax
mov edx, dword [ebp - 0x118]
lea eax, [eax + ecx + 2]
inc edx
mov ecx, dword [ebp - 0x130]
mov dword [ebp + esi*4 - 0x9c], eax
jmp 0x450730
mov dword [ebp + esi*4 - 0xc4], ecx
inc ebx
inc esi
cmp dword [ebp - 0x164], esi
jne 0x4506d9
mov eax, dword [ebp - 0x140]
lea esi, [ebp - 0xc0]
lea ebx, [ebp - 0x98]
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebx]
jge 0x45087a
mov edi, dword [ebp - 0x130]
cmp dword [ebp - 0x118], edi
jl 0x4507fe
mov eax, dword [ebp - 0x134]
cmp eax, 6
mov dword [ebp - 0x130], eax
jne 0x4507f1
mov eax, 0x12d08
jmp 0x4509d9
mov eax, dword [ebp - 0x58]
mov dword [ebx + 4], 0
mov dword [esi + 4], eax
mov ecx, dword [esi]
lea eax, [ebp - 0x58]
lea edi, [ecx - 1]
mov dword [ebp - 0x148], ecx
mov edx, edi
call fcn.004036f5
movzx eax, ax
add eax, 2
sub dword [ebx], eax
cmp dword [ebp - 0x12c], 0
jne 0x450841
xor eax, eax
mov ecx, dword [ebp - 0x148]
cmp ecx, dword [ebp - 0x58]
jge 0x450841
lea eax, [ebp - 0x58]
mov edx, ecx
call fcn.004036f5
movzx eax, ax
add eax, 2
add dword [ebx + 4], eax
mov dword [esi], edi
jmp 0x4507ba
lea eax, [ebp - 0x58]
mov edx, edi
call fcn.004036f5
mov edx, dword [ebx]
movzx eax, ax
add eax, 2
add edx, eax
cmp dword [ebp - 0x150], edx
jl 0x450881
cmp dword [ebp - 0x12c], 0
mov dword [ebx], edx
lea edx, [edi + 1]
mov dword [esi], edx
je 0x450894
sub dword [ebx + 4], eax
mov edi, dword [esi]
cmp edi, dword [ebp - 0x58]
jl 0x45084b
cmp edi, dword [ebp - 0x58]
jl 0x4508ab
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
jmp 0x4508c7
xor eax, eax
cmp edx, dword [ebp - 0x58]
jge 0x450877
lea eax, [ebp - 0x58]
call fcn.004036f5
movzx eax, ax
add eax, 2
jmp 0x450877
xor eax, eax
cmp dword [ebp - 0x118], 1
je 0x4508b9
mov eax, dword [esi - 4]
cmp edi, eax
jg 0x4508c7
mov eax, 0x12d29
jmp 0x4509d9
mov eax, dword [ebp - 0x118]
add esi, 4
inc dword [ebp - 0x118]
add ebx, 4
cmp eax, dword [ebp - 0x130]
jl 0x4507ad
mov eax, dword [ebp - 0x130]
dec eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x130]
shl eax, 2
lea edi, [ebp + eax - 0x98]
lea ebx, [ebp + eax - 0xc0]
cmp dword [ebp - 0x118], 0
je 0x450a49
mov eax, dword [edi - 8]
mov esi, dword [edi - 4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx - 8]
lea ecx, [eax - 1]
sub eax, dword [ebp - 0x12c]
mov dword [ebp - 0x148], ecx
mov edx, eax
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x58]
call fcn.004036f5
mov ecx, dword [ebp - 0x118]
xor eax, eax
cmp dword [ebp - 0x160], ecx
mov ecx, dword [ebp - 0x164]
setne al
add eax, eax
mov dword [ebp - 0x170], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x58]
call fcn.004036f5
movzx eax, ax
mov edx, dword [ebp - 0x4c]
test esi, esi
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x16c]
movzx ecx, word [edx + eax]
je 0x450a0f
cmp byte [ebp - 0x154], 0
je 0x4509e9
mov eax, dword [ebp - 0x134]
mov dword [edi - 4], esi
mov edx, dword [ebx - 8]
mov dword [edi - 8], eax
xor eax, eax
cmp dword [ebp - 0x118], 1
je 0x4509c0
mov eax, dword [ebx - 0xc]
dec dword [ebp - 0x118]
sub edi, 4
sub ebx, 4
cmp edx, eax
jg 0x45090f
mov eax, 0x12d55
call fcn.0042aea7
mov dword [ebp - 0x108], eax
jmp 0x450239
mov eax, dword [ebp - 0x170]
add eax, dword [ebp - 0x164]
lea edx, [ecx + esi + 1]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x174]
cmp edx, eax
jge 0x4509a3
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x164]
lea esi, [ecx + esi + 2]
sub dword [ebp - 0x16c], 2
sub eax, 2
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x148]
dec dword [ebp - 0x148]
mov dword [ebx - 8], eax
jns 0x450972
jmp 0x4509a3
mov eax, dword [ebp - 0xf0]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
mov byte [ebp - 0x134], bl
cmp dword [ebp - 0x140], edi
jle 0x450adb
mov eax, dword [ebp + edi*4 - 0xf0]
mov dword [ebp + edi*4 - 0xf0], 0
lea esi, [edi + 1]
mov dword [ebp + edi*4 - 0xd4], eax
mov dword [ebp - 0x70], eax
mov eax, dword [eax + 0x48]
call fcn.0044b89f
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x118], esi
mov edx, dword [edx + 0x48]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebp - 0x124]
sub edx, dword [ebp - 0x11c]
cmp edx, edi
sete dl
movzx edx, dl
inc edx
test eax, eax
jne 0x450b6f
cmp ecx, edx
je 0x450b6f
mov eax, 0x12d76
call fcn.0042aea7
mov dword [ebp - 0x108], eax
jmp 0x450b6f
cmp byte [ebp - 0x154], 0
mov eax, 1
lea ecx, [ebp - 0x104]
cmove eax, dword [ebp - 0x104]
lea edx, [ebp - 0x70]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x120]
call fcn.0044e4e5
test eax, eax
mov dword [ebp - 0x108], eax
jne 0x450b92
mov eax, dword [ebp - 0x70]
lea esi, [edi + 1]
mov edx, ebx
call fcn.0042afb2
mov dword [ebp - 0x118], esi
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x70]
mov dword [ebp + edi*4 - 0xac], edx
cmp byte [esi + 0x11], 0
mov dword [ebp + edi*4 - 0xd4], eax
je 0x450b7c
mov edx, dword [eax + 4]
lea eax, [ebp - 0x108]
mov ecx, 5
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, esi
call fcn.0044eafa
cmp dword [ebp - 0x108], 0
jne 0x4515a5
lea eax, [edi + 1]
cmp eax, dword [ebp - 0x130]
je 0x450b8e
mov edi, eax
jmp 0x450a5d
xor eax, eax
jmp 0x450b9d
mov dword [ebp - 0x118], edi
jmp 0x4515a5
cmp eax, dword [ebp - 0x118]
je 0x450bb9
mov edx, dword [ebp + eax*4 - 0xd4]
mov edx, dword [edx + 4]
mov dword [ebp + eax*4 - 0x84], edx
inc eax
jmp 0x450b9d
xor eax, eax
cmp eax, edi
je 0x450ca2
lea esi, [eax + 1]
mov edx, eax
mov dword [ebp - 0x124], esi
mov ecx, esi
cmp ecx, dword [ebp - 0x118]
jge 0x450bf2
mov esi, dword [ebp + ecx*4 - 0xd4]
mov ebx, dword [ebp + edx*4 - 0xd4]
mov ebx, dword [ebx + 4]
cmp dword [esi + 4], ebx
cmovb edx, ecx
inc ecx
jmp 0x450bd0
cmp eax, edx
je 0x450c97
mov eax, dword [ebp - 0x124]
mov ebx, dword [ebp + edx*4 - 0xd4]
xor edx, edx
mov ecx, dword [ebp - 0x120]
mov esi, dword [ebp + eax*4 - 0xd8]
mov eax, dword [esi + 4]
mov dword [ebp - 0x130], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x148], eax
mov eax, dword [0x4f1630]
div dword [ecx + 0x24]
lea edx, [eax + 1]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x1c]
mov word [ebp - 0x154], cx
mov ecx, dword [ebx + 0x48]
mov ecx, dword [ecx + 0x1c]
mov word [eax + 0x1c], cx
mov dword [ebp - 0x160], ecx
call fcn.004026b2
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x130]
mov word [eax + 0x1c], cx
call fcn.004026b2
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x148]
mov word [eax + 0x1c], cx
call fcn.004026b2
mov eax, dword [ebp - 0x148]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x124]
jmp 0x450bbb
mov edx, dword [ebp + edi*4 - 0xd4]
test byte [ebp - 0x134], 8
mov ebx, dword [ebp - 0x158]
mov eax, dword [edx + 4]
bswap eax
mov dword [ebx], eax
jne 0x450cf8
mov esi, dword [ebp - 0x118]
cmp dword [ebp - 0x140], esi
je 0x450cf8
cmp dword [ebp - 0x140], esi
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0xf4]
mov ebx, dword [ebp - 0x168]
mov edx, dword [edx + 0x38]
cmovl eax, ecx
mov eax, dword [eax + ebx + 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x120]
cmp byte [eax + 0x11], 0
jne 0x450d2a
movzx eax, word [ebp - 0x144]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x160], eax
jmp 0x450f05
mov ebx, dword [ebp - 0xd4]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x124], 0
movzx edx, word [ebx + 0x18]
movzx eax, byte [ebx + 0xc]
mov esi, ebx
add eax, edx
mov dword [ebp - 0x154], eax
movzx eax, byte [ebp - 0x15c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x58]
jge 0x450d04
mov ecx, dword [ebp - 0x154]
cmp dword [ebp - 0x124], ecx
jne 0x450dc8
inc dword [ebp - 0x130]
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x118]
jge 0x450da3
mov ebx, dword [ebp + eax*4 - 0xd4]
jmp 0x450db0
mov eax, dword [ebp - 0x130]
mov ebx, dword [ebp + eax*4 - 0xf0]
movzx edx, word [ebx + 0x18]
movzx eax, byte [ebx + 0xc]
add eax, edx
add eax, dword [ebp - 0x158]
add dword [ebp - 0x154], eax
jmp 0x450d78
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [ebp + eax*4 - 0xc0]
jne 0x450dfd
inc dword [ebp - 0x148]
cmp dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x148]
mov esi, dword [ebp + eax*4 - 0xd4]
je 0x450ead
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x118]
cmp dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], eax
jge 0x450e3f
mov eax, dword [ebp - 0x130]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [esi + 4], eax
jne 0x450e3f
mov eax, dword [ebp - 0x134]
cmp dword [ebx + 0x38], eax
ja 0x450e3f
cmp dword [ebx + 0x3c], eax
ja 0x450ead
cmp word [ebp - 0x144], 0
jne 0x450e73
mov eax, dword [ebp - 0x134]
mov ecx, 5
mov edx, dword [eax]
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
bswap edx
mov dword [esp], eax
mov eax, dword [ebp - 0x120]
call fcn.0044eafa
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x58]
call fcn.004036f5
cmp ax, word [esi + 0x10]
jbe 0x450ea0
lea eax, [ebp - 0x108]
mov ecx, dword [ebp - 0x134]
lea edx, [ebx + 0x3c]
mov dword [esp], eax
mov eax, esi
call fcn.0044ebcf
cmp dword [ebp - 0x108], 0
jne 0x4515a5
inc dword [ebp - 0x124]
jmp 0x450d6d
mov edx, dword [ebp + edx*4 - 0x48]
cmp ebx, edx
jbe 0x45100a
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x134]
add edx, dword [ebp - 0x124]
mov dword [esp], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp + 8], ecx
mov ecx, ebx
mov dword [esp + 4], esi
call fcn.0044f8b8
test eax, eax
mov dword [ebp - 0x108], eax
jne 0x4515a5
inc dword [ebp - 0x124]
cmp dword [ebp - 0x124], edi
je 0x45102a
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp + eax*4 - 0xd4]
mov eax, dword [ebp + eax*4 - 0xc0]
mov dword [ebp - 0x130], eax
shl eax, 2
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x130]
mov ebx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax + edx*2]
mov edx, dword [ebp - 0x13c]
add edx, dword [ebp - 0x154]
mov word [ebp - 0x148], ax
add eax, dword [ebp - 0x160]
cmp byte [esi + 8], 0
mov dword [ebp - 0x134], edx
jne 0x450f7c
mov edx, dword [esi + 0x38]
mov ecx, dword [ebx]
mov dword [edx + 8], ecx
jmp 0x450fef
cmp dword [ebp - 0x12c], 0
je 0x450fcf
lea eax, [ebp - 0x70]
dec dword [ebp - 0x130]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x158]
mov eax, dword [ecx + eax - 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [esi + 0x50]
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
add eax, 4
call fcn.00411436
mov ebx, dword [ebp - 0x134]
add eax, 4
mov dword [ebp - 0x134], 0
jmp 0x450fef
sub ebx, 4
cmp word [ebp - 0x148], 4
jne 0x450fef
mov eax, dword [ebp - 0x10c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [eax + 0x4c]
movzx eax, ax
add dword [ebp - 0x154], eax
xor edx, edx
mov ecx, dword [ebp - 0x130]
cmp dword [ebp + edx*4 - 0x30], ecx
jg 0x450eb8
inc edx
jmp 0x450ff7
lea ecx, [ebx + eax]
cmp edx, ecx
jae 0x450ec4
mov eax, 0x12e3e
call fcn.0042aea7
mov dword [ebp - 0x108], eax
jmp 0x4515a5
mov eax, 1
sub eax, dword [ebp - 0x118]
mov dword [ebp - 0x148], eax
movzx eax, byte [ebp - 0x15c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x148]
sar eax, 0x1f
xor edi, eax
mov dword [ebp - 0x12c], edi
sub dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
cmp byte [ebp + eax - 0xfd], 0
jne 0x4514bd
cmp dword [ebp - 0x148], 0
jns 0x451096
mov edi, dword [ebp + eax*4 - 0xc4]
cmp dword [ebp + eax*4 - 0xb0], edi
jl 0x4514bd
cmp dword [ebp - 0x12c], 0
jne 0x4510c1
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x124], eax
jmp 0x451113
mov edi, dword [ebp - 0x12c]
cmp dword [ebp - 0x140], edi
jle 0x4510de
mov eax, dword [ebp - 0x16c]
add eax, dword [ebp + edi*4 - 0xb0]
jmp 0x4510e1
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x16c]
add eax, dword [ebp + edi*4 - 0xc4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + edi*4 - 0xc0]
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x11c]
add edi, dword [ebp - 0x124]
mov esi, dword [ebp + eax*4 - 0xd4]
mov eax, dword [esi + 0x38]
movzx ebx, word [esi + 0x18]
mov dword [ebp - 0x134], eax
mov al, byte [esi + 9]
mov byte [ebp - 0x15c], al
mov eax, dword [ebp - 0x124]
add eax, eax
add eax, dword [esi + 0x40]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x130]
lea ecx, [eax + ebx]
movzx eax, byte [esi + 0xc]
add eax, ecx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x11c]
jge 0x4511cf
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x130]
sub ecx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, esi
call fcn.0042b4ec
cmp ebx, eax
mov edx, eax
jge 0x4511a6
mov eax, 0x12a75
call fcn.0042aea7
jmp 0x45148f
lea eax, [ebx + ebx]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x160], edx
mov dword [esp + 8], eax
lea eax, [edx + edx]
mov dword [esp], ecx
add eax, ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x160]
sub ebx, edx
cmp dword [ebp - 0x158], edi
jle 0x4511f0
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x58]
mov edx, edi
mov dword [esp], eax
mov eax, esi
sub ecx, edi
call fcn.0042b4ec
sub ebx, eax
movzx eax, byte [ebp - 0x15c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x134]
mov edi, dword [ebp - 0x158]
lea eax, [eax + edi + 5]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x134]
lea eax, [eax + edi + 6]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x164]
mov edi, dword [ebp - 0x168]
movzx eax, byte [eax]
movzx edx, byte [edi]
shl eax, 8
or eax, edx
add eax, dword [ebp - 0x134]
cmp dword [ebp - 0x154], eax
mov dword [ebp - 0x70], eax
ja 0x451419
cmp eax, dword [esi + 0x3c]
ja 0x451419
mov edi, dword [ebp - 0x11c]
cmp dword [ebp - 0x130], edi
jle 0x4512d8
mov edi, dword [ebp - 0x130]
sub edi, dword [ebp - 0x11c]
lea eax, [ebx + ebx]
cmp edi, dword [ebp - 0x124]
mov edx, dword [esi + 0x40]
cmovg edi, dword [ebp - 0x124]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x15c], edx
lea eax, [edi + edi]
add eax, edx
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x70]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x11c]
mov dword [esp], edx
mov edx, dword [ebp - 0x154]
mov dword [esp + 4], eax
mov eax, esi
call fcn.0042bdd1
test eax, eax
jne 0x451419
add ebx, edi
mov dword [ebp - 0x15c], 0
movzx eax, byte [esi + 0xc]
cmp dword [ebp - 0x15c], eax
jge 0x451390
mov eax, dword [ebp - 0x15c]
movzx edi, word [esi + eax*2 + 0x1c]
add edi, dword [ebp - 0x130]
mov eax, edi
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x160], edi
js 0x451385
cmp dword [ebp - 0x124], eax
jle 0x451385
mov edi, dword [esi + 0x40]
lea ecx, [eax + eax]
add edi, ecx
cmp eax, ebx
jge 0x451342
mov ecx, ebx
mov dword [esp + 4], edi
sub ecx, eax
mov eax, ecx
add eax, ecx
mov dword [esp + 8], eax
lea eax, [edi + 2]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x58]
inc ebx
call fcn.004036f5
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x70]
mov dword [esp + 8], 1
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
mov eax, esi
call fcn.0042bdd1
test eax, eax
jne 0x451419
inc dword [ebp - 0x15c]
jmp 0x4512e2
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x124]
sub eax, ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x11c]
add eax, ebx
add ebx, ebx
mov dword [esp + 4], eax
add ebx, dword [esi + 0x40]
mov eax, esi
mov dword [esp], ebx
call fcn.0042bdd1
test eax, eax
jne 0x451419
mov ebx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x158]
mov byte [esi + 0xc], 0
mov word [esi + 0x18], bx
mov edx, ebx
mov ebx, dword [ebp - 0x134]
shr dx, 8
mov byte [ebx + edi + 3], dl
mov edx, dword [esi + 0x18]
mov byte [ebx + edi + 4], dl
mov edx, dword [ebp - 0x70]
sub edx, ebx
mov ebx, dword [ebp - 0x164]
sar edx, 8
mov byte [ebx], dl
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x134]
mov ebx, dword [ebp - 0x168]
mov byte [ebx], dl
jmp 0x45148f
mov ebx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x124]
add ebx, ebx
add ebx, dword [ebp - 0x4c]
lea edx, [eax*4]
test edi, edi
jle 0x451478
cmp word [ebx], 0
jne 0x45146f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], ecx
mov eax, dword [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x130]
mov word [ebx], ax
dec edi
add ebx, 2
add edx, 4
jmp 0x45143a
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x58]
mov dword [esp], esi
call fcn.0042bbdb
test eax, eax
mov dword [ebp - 0x108], eax
jne 0x4515a5
mov eax, dword [ebp - 0x12c]
mov ebx, eax
mov byte [ebp + eax - 0xfd], 1
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp + ebx*4 - 0x98]
mov dword [esi + 0x14], eax
inc dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x118]
jne 0x451048
cmp dword [ebp - 0x14c], 1
jne 0x451536
mov eax, dword [ebp - 0x10c]
cmp word [eax + 0x18], 0
jne 0x451536
mov ebx, dword [ebp - 0xd4]
movzx eax, byte [eax + 9]
cmp eax, dword [ebx + 0x14]
jg 0x451536
or edx, 0xffffffff
mov eax, ebx
call fcn.0042b8cd
test eax, eax
mov dword [ebp - 0x108], eax
jne 0x451521
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov eax, ebx
call fcn.0044ed15
lea edx, [ebp - 0x108]
mov eax, ebx
call fcn.0044f899
mov ebx, dword [ebp - 0x118]
jmp 0x451588
mov eax, dword [ebp - 0x120]
cmp byte [eax + 0x11], 0
je 0x45152e
xor ebx, ebx
cmp word [ebp - 0x144], 0
lea esi, [ebp - 0x108]
jne 0x45152e
mov eax, dword [ebp + ebx*4 - 0xd4]
mov ecx, 5
inc ebx
mov edx, dword [eax + 0x38]
mov edx, dword [edx + 8]
mov dword [esp + 4], esi
mov eax, dword [eax + 4]
bswap edx
mov dword [esp], eax
mov eax, dword [ebp - 0x120]
call fcn.0044eafa
cmp ebx, dword [ebp - 0x118]
jne 0x451554
jmp 0x45152e
cmp dword [ebp - 0x140], ebx
jle 0x4515a5
mov eax, dword [ebp + ebx*4 - 0xf0]
lea edx, [ebp - 0x108]
inc ebx
call fcn.0044f899
jmp 0x451588
mov eax, dword [ebp - 0x50]
mov dword [esp], 0
mov esi, 1
mov dword [esp + 4], eax
call fcn.0040b317
mov ebx, dword [ebp - 0x128]
add ebx, 2
mov eax, dword [ebp + esi*4 - 0xf4]
inc esi
call fcn.004034cc
cmp ebx, esi
jne 0x4515c6
xor ebx, ebx
cmp ebx, dword [ebp - 0x118]
je 0x4515f0
mov eax, dword [ebp + ebx*4 - 0xd4]
inc ebx
call fcn.004034cc
jmp 0x4515d9
mov ebx, dword [ebp - 0x108]
cmp dword [ebp - 0x138], 0
je 0x45160a
mov eax, dword [ebp - 0x138]
call fcn.0040c8b3
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x110]
mov byte [eax + 0xc], 0
call fcn.004034cc
mov eax, dword [ebp - 0x114]
mov esi, dword [ebp - 0x114]
mov al, byte [eax + 0x44]
mov byte [ebp - 0x10c], al
dec eax
mov byte [esi + 0x44], al
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov dword [esi + 0x74], eax
test ebx, ebx
je 0x44fb50
jmp 0x451654
xor ebx, ebx
cmp dword [ebp - 0x138], 0
je 0x451668
mov eax, dword [ebp - 0x138]
call fcn.0040c8b3
add esp, 0x17c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret