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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
push edi
xor edi, edi
mov ebx, eax
and ebx, 0x80
mov dword [esp + 0x20], edi
mov dword [esp + 0x64], 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ebx
je 0x773911
mov ecx, dword [esi + 0x17c]
mov ebp, dword [ecx + 0x2c]
cmp ebp, edi
je 0x77387c
mov dx, word [ebp + 0x38]
cmp dx, 0x7d0
jl 0x77386f
cmp dx, 0x7d2
jle 0x77387c
cmp dword [ecx + 0x60], edi
mov dword [esp + 0x34], 1
je 0x773880
mov dword [esp + 0x34], edi
xor edx, edx
cmp dword [ecx + 0x20], edi
setne dl
cmp ebp, edi
je 0x77389b
cmp word [ebp + 0x38], 0x7d2
jne 0x77389b
mov ecx, 1
jmp 0x77389d
xor ecx, ecx
and eax, 0xfffe
cmp dword [esp + 0x34], edi
mov dword [esp + 0xbc], eax
je 0x7738d3
movzx ecx, word [ebp + 0x32]
cmp dword [esi + 0x120], ecx
jl 0x7738c3
cmp dword [esi + 0x124], ecx
jge 0x773920
xor ebx, ebx
and eax, 0xff7f
mov dword [esp + 0xbc], eax
jmp 0x773905
and eax, 0xff7f
xor ebx, ebx
cmp edx, edi
jne 0x7738fb
cmp ecx, edi
mov dword [esp + 0x28], ebx
je 0x7738ef
mov dword [esp + 0xbc], eax
jmp 0x773911
or eax, 1
mov dword [esp + 0xbc], eax
jmp 0x773911
or eax, 1
mov dword [esp + 0xbc], eax
mov dword [esp + 0x4c], 1
mov dword [esp + 0x28], ebx
test eax, 0x281
mov dword [esp + 0x44], 1
jne 0x773924
mov dword [esp + 0x44], edi
and eax, 0x200
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x24], eax
cmp byte [esp + 0xb8], 5
jbe 0x77394f
mov eax, dword [esi + 4]
push 0x2713
push eax
call fcn.00771fb0
add esp, 8
mov edx, dword [esi + 0x100]
mov cx, word [esi + 0x178]
push edx
mov word [esp + 0x3c], cx
call fcn.0077a020
mov eax, dword [esi + 0x114]
add esp, 4
cmp eax, edi
mov dword [esi + 0x100], edi
je 0x7739a3
cmp dword [esi + 0x2c], edi
je 0x7739a3
mov ecx, dword [esi + 4]
cmp eax, dword [ecx + 0x64]
jne 0x773993
mov dword [ecx + 0x9c], 1
jmp 0x77399d
push eax
push ecx
call fcn.007722f0
add esp, 8
mov dword [esi + 0x114], edi
mov eax, dword [esi + 0x118]
cmp eax, edi
je 0x7739c5
cmp dword [esi + 0x30], edi
je 0x7739c5
push eax
mov eax, dword [esi + 4]
push eax
call fcn.007722f0
add esp, 8
mov dword [esi + 0x118], edi
mov ecx, dword [esi + 0x17c]
mov edx, dword [esi + 0x144]
mov dword [ecx + 0xa4], edx
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x158]
mov dword [eax + 0xa8], ecx
test byte [esp + 0xbc], 8
je 0x773a4b
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esi + 0x17c]
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
push edx
call fcn.00776150
mov ecx, dword [esi + 0x17c]
mov ebp, eax
mov eax, dword [esp + 0xbc]
push eax
push ecx
call fcn.007776f0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
add esp, 0x1c
cmp eax, edi
jne 0x773ab1
mov dx, word [esp + 0xa8]
mov word [esi + 0x104], dx
jmp 0x773ab1
mov edx, dword [esp + 0xa8]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esi + 0x17c]
lea ecx, [esp + 0x4c]
push ecx
push ebx
push edx
push eax
call fcn.007776b0
mov edx, dword [esi + 0x17c]
movzx ecx, ax
add esp, 8
push ecx
push edx
call fcn.00776150
mov ebp, eax
mov eax, dword [esp + 0xc0]
add esp, 0x14
cmp eax, edi
jne 0x773a98
mov ax, word [ebp + 0x76]
mov word [esi + 0x104], ax
mov eax, dword [esp + 0xa8]
cmp eax, 0x30
jl 0x773ab1
cmp eax, 0x39
jg 0x773ab1
mov dword [esp + 0x20], 1
cmp ebp, edi
jne 0x773ac6
mov ecx, dword [esi + 4]
push 0x2715
push ecx
call fcn.00771fb0
add esp, 8
mov dword [esi + 0x100], ebp
cmp word [ebp + 0x36], di
jge 0x774072
mov edx, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], edi
mov dword [esp + 0x58], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x120]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov dl, byte [esp + 0xbc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x124]
and dl, 0x9d
or dl, 0xc
mov dword [esp + 0x18], ecx
movzx cx, dl
mov word [esp + 0x2c], cx
cmp dword [esi + 0x170], 2
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], eax
je 0x773b53
cmp word [esp + 0x24], 3
jne 0x773b5b
and dword [esp + 0x2c], 0xfdfe
mov edx, dword [esp + 0xac]
inc edx
mov dword [esp + 0x40], edx
mov ebp, eax
lea esp, [esp]
movzx ecx, word [ebp + 2]
mov edi, dword [esp + 0x10]
xor eax, eax
mov ax, word [ebp]
add ebp, 2
movsx ebx, word [ebp + 2]
add ebp, 2
add ebp, 2
or edi, eax
test al, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], ecx
je 0x773baa
movsx edx, word [ebp]
mov dword [esp + 0x30], edx
add ebp, 2
jmp 0x773bc5
test al, 2
je 0x773bb6
movsx ecx, bl
sar ebx, 8
jmp 0x773bc1
mov ecx, ebx
and ecx, 0xff
movzx ebx, bh
mov dword [esp + 0x30], ecx
test al, 2
je 0x773c0c
mov eax, dword [esi + 0x120]
mov cx, word [esi + 0x178]
imul eax, ebx
shl eax, 6
movsx edi, cx
mov edx, edi
sar edx, 1
add eax, edx
cdq
idiv edi
movsx ecx, cx
mov edx, ecx
sar edx, 1
mov ebx, eax
mov eax, dword [esi + 0x124]
imul eax, dword [esp + 0x30]
shl eax, 6
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
test al, 8
je 0x773c22
movsx eax, word [ebp]
shl eax, 2
xor edx, edx
xor edi, edi
mov ecx, eax
add ebp, 2
jmp 0x773c79
test al, 0x40
je 0x773c40
movsx eax, word [ebp]
movsx ecx, word [ebp + 2]
add ebp, 2
shl eax, 2
xor edx, edx
xor edi, edi
shl ecx, 2
add ebp, 2
jmp 0x773c79
test al, al
jns 0x773c6e
movsx eax, word [ebp]
movsx edx, word [ebp + 2]
add ebp, 2
movsx edi, word [ebp + 2]
add ebp, 2
movsx ecx, word [ebp + 2]
add ebp, 2
shl eax, 2
shl edx, 2
shl edi, 2
shl ecx, 2
add ebp, 2
jmp 0x773c79
mov eax, 0x10000
xor edx, edx
xor edi, edi
mov ecx, eax
cmp eax, 0x10000
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
jne 0x773c9f
test edx, edx
jne 0x773c9f
test edi, edi
jne 0x773c9f
cmp ecx, eax
jne 0x773c9f
mov eax, 1
jmp 0x773ca1
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x44]
push 0
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push esi
call fcn.00773810
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
add esp, 0x1c
cmp eax, 0x10000
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
jne 0x773d10
test ecx, ecx
jne 0x773d10
test edx, edx
jne 0x773d10
cmp edi, eax
jne 0x773d10
mov eax, 1
jmp 0x773d12
xor eax, eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x120], edx
mov edx, dword [esi + 0x100]
push ebx
mov dword [esi + 0x124], eax
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00779c80
mov eax, dword [esi + 0x100]
mov ecx, dword [esp + 0x74]
add esp, 0x14
cmp ecx, eax
je 0x773d63
push eax
call fcn.0077a020
mov ecx, dword [esp + 0x64]
add esp, 4
test bl, 0x20
mov dword [esi + 0x100], 0
jne 0x773b70
mov eax, dword [esi + 4]
lea edi, [ecx + 0x64]
mov dword [esi + 0x100], ecx
mov edx, dword [eax + 0x5c]
mov ebp, ecx
mov ecx, dword [edi]
cmp ecx, edx
jne 0x773d99
mov dword [eax + 0x94], 1
jmp 0x773da3
push ecx
push eax
call fcn.007722f0
add esp, 8
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov dword [edi], ecx
mov dword [ebp + 0x68], edx
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.007722f0
mov eax, dword [ebp + 0x54]
mov edx, dword [ebp + 0x50]
mov dword [esp + 0x20], eax
movsx eax, word [ebp + 0x38]
lea ecx, [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
add esp, 8
test ch, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], eax
jne 0x773e83
mov edx, dword [ebp + 0x44]
mov word [edx + eax*2], 0
mov ecx, dword [esi + 0x100]
movsx edx, word [ecx + 0x38]
mov eax, dword [ebp + 0x44]
mov cx, word [eax + edx*2]
add cx, word [esp + 0x48]
movsx edx, word [ebp + 0x38]
mov word [eax + edx*2 + 2], cx
mov ax, word [esi + 0x178]
movsx ecx, word [ebp + 0x38]
movsx edi, ax
mov eax, dword [ebp + 0x44]
movsx eax, word [eax + ecx*2 + 2]
imul eax, dword [esi + 0x120]
shl eax, 6
mov edx, edi
sar edx, 1
add eax, edx
cdq
idiv edi
mov edx, dword [ebp + 0x50]
mov dword [edx + ecx*4 + 4], eax
test byte [esp + 0xbc], 0x81
je 0x773e75
movsx eax, word [ebp + 0x38]
mov ecx, dword [ebp + 0x50]
mov edx, dword [ecx + eax*4 + 4]
lea eax, [ecx + eax*4 + 4]
add edx, 0x20
mov dword [eax], edx
movsx edx, word [ebp + 0x38]
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax + edx*4 + 4]
lea eax, [eax + edx*4 + 4]
and ecx, 0xffffffc0
mov dword [eax], ecx
movsx ecx, word [ebp + 0x38]
mov edx, dword [ebp + 0x50]
mov dword [edx + ecx*4], 0
mov al, byte [esp + 0xbc]
test al, al
js 0x773eaf
cmp word [esp + 0x24], 3
je 0x773eaf
cmp dword [esi + 0x170], 2
jne 0x7742ac
mov eax, dword [esp + 0x44]
test eax, eax
je 0x7742ac
mov eax, dword [esi + 0x120]
movzx edi, word [esp + 0x38]
shl eax, 6
push eax
push edi
call fcn.00779700
mov ecx, dword [esi + 0x124]
shl ecx, 6
push ecx
push edi
mov dword [esp + 0x48], eax
call fcn.00779700
mov dword [esp + 0x64], eax
movsx eax, word [ebp + 0x38]
mov dword [esp + 0x24], eax
add eax, 4
add esp, 0x10
xor ebx, ebx
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x773f4f
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + edi]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi]
push edx
push eax
mov dword [esp + 0x64], ecx
call fcn.007795d0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
call fcn.007795d0
mov edx, dword [ebp + 0x44]
mov cx, word [esp + 0x68]
mov word [edx + ebx*2], cx
mov edx, dword [ebp + 0x48]
add esp, 0x10
mov word [edx + ebx*2], ax
mov eax, dword [esp + 0x1c]
inc ebx
add edi, 4
cmp ebx, eax
jl 0x773f02
mov eax, dword [esp + 0x28]
test eax, eax
je 0x773f72
mov eax, dword [esp + 0x34]
test eax, eax
je 0x773f72
mov eax, dword [esi + 0x17c]
mov ecx, dword [eax + 0x24]
push ebp
push ecx
call fcn.00778410
add esp, 8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x7742ac
mov ebx, esi
call fcn.00772db0
cmp dword [esp + 0x14], 0x7d00
mov dx, word [ebp + 0x36]
mov word [esp + 0x78], dx
jle 0x773fa9
mov eax, dword [esi + 4]
push 0x2716
push eax
call fcn.00771fb0
add esp, 8
mov cx, word [ebp + 0x38]
mov eax, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
mov word [esp + 0x7a], cx
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov cl, byte [esp + 0xb8]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp + 0x48]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x18]
xor al, al
cmp al, cl
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], edx
sbb ecx, ecx
xor edx, edx
mov dx, word [ebp + 0x34]
push 4
neg ecx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 0x180]
push ecx
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.00778e40
add esp, 0x1c
cmp eax, 0xffffff9c
jne 0x774058
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x48]
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [esi + 0x14c]
push edx
call fcn.00772f90
add esp, 8
jmp 0x7742ac
test eax, eax
je 0x7742ac
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00771fb0
add esp, 8
jmp 0x7742ac
test ebx, ebx
movsx eax, word [ebp + 0x38]
mov ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
lea edi, [eax + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edx
jne 0x77409f
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x774232
test byte [esp + 0xbc], 0x10
jne 0x774232
test eax, eax
jle 0x774232
test ebx, ebx
je 0x7740fc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x7740fc
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x44]
push ecx
lea eax, [esi + 0x138]
push edx
call fcn.00772f90
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x48]
push ecx
lea eax, [esi + 0x14c]
push edx
call fcn.00772f90
mov eax, dword [esi + 0x17c]
mov ecx, dword [eax + 0x24]
push ebp
push ecx
call fcn.00778410
add esp, 0x18
mov eax, dword [esp + 0x44]
test eax, eax
je 0x7742ac
mov ebx, esi
call fcn.00772db0
cmp dword [esp + 0x14], 0x7d00
mov dx, word [ebp + 0x36]
mov word [esp + 0x78], dx
jle 0x774133
mov eax, dword [esi + 4]
push 0x2716
push eax
call fcn.00771fb0
add esp, 8
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x3c]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x44]
push edx
mov dword [esp + 0x98], eax
lea eax, [esi + 0x138]
push ecx
mov word [esp + 0x82], bx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x98], edx
call fcn.00772f90
add esp, 8
cmp word [esp + 0x24], 3
je 0x7741b7
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x48]
push ecx
lea eax, [esi + 0x14c]
push edx
call fcn.00772f90
add esp, 8
xor ecx, ecx
mov cl, byte [esp + 0xb8]
xor al, al
cmp al, cl
mov eax, dword [esp + 0x20]
push 4
sbb ecx, ecx
xor edx, edx
mov dx, word [ebp + 0x34]
neg ecx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 0x180]
push ecx
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.00778e40
add esp, 0x1c
cmp eax, 0xffffff9c
jne 0x774218
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x48]
mov edi, dword [esp + 0x1c]
push ecx
lea eax, [esi + 0x14c]
push edx
call fcn.00772f90
add esp, 8
jmp 0x7742b0
test eax, eax
je 0x7742b0
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00771fb0
add esp, 8
jmp 0x7742b0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x44]
push ebx
lea eax, [esi + 0x138]
push ecx
call fcn.00772f90
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x48]
push edx
lea eax, [esi + 0x14c]
push ecx
call fcn.00772f90
mov al, byte [esp + 0xcc]
add esp, 0x10
test al, 0x10
je 0x7742ac
mov cl, byte [esp + 0xb0]
test cl, cl
mov edi, dword [esp + 0x14]
je 0x774288
xor eax, eax
test edi, edi
jle 0x774288
movsx ecx, cl
add dword [ebx + eax*4], ecx
inc eax
cmp eax, edi
jl 0x774280
mov cl, byte [esp + 0xb4]
test cl, cl
je 0x7742ac
xor eax, eax
test edi, edi
jle 0x7742ac
movsx edx, cl
lea esp, [esp]
mov ecx, dword [esp + 0x18]
sub dword [ecx + eax*4], edx
inc eax
cmp eax, edi
jl 0x7742a0
mov ebx, dword [esp + 0x14]
movzx ecx, word [esp + 0x50]
movzx edx, word [esp + 0x48]
shl ecx, 0x10
xor eax, eax
mov dword [esi + 0xf4], ecx
mov ecx, dword [esp + 0xac]
shl edx, 0x10
cmp ecx, eax
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], eax
mov dword [esi + 0xf0], eax
jne 0x7743aa
test dword [esp + 0xbc], 0x140
je 0x774304
cmp dword [esp + 0x28], eax
mov dword [esp + 0x10], 1
je 0x774308
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x774328
mov edx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
jle 0x774328
lea ecx, [ecx]
sub dword [edi + eax*4], ecx
inc eax
cmp eax, edx
jl 0x774320
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x77434a
xor eax, eax
cmp dword [esp + 0x1c], eax
jle 0x77434a
jmp 0x774340
sub dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esp + 0x1c]
jl 0x774340
test byte [esp + 0xbc], 0x10
jne 0x7743ae
mov edx, dword [edi + ebx*4]
mov eax, dword [edi + ebx*4 + 4]
mov dword [esp + 0x38], eax
sub eax, edx
add eax, 0x20
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
and eax, 0xffffffc0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x10]
add eax, ecx
test edx, edx
mov dword [edi + ebx*4], ecx
mov dword [edi + ebx*4 + 4], eax
je 0x7743ae
test ebx, ebx
jle 0x7743ae
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x54]
add eax, ecx
sar eax, 1
test eax, eax
je 0x7743ae
xor ecx, ecx
test ebx, ebx
jle 0x7743ae
lea esp, [esp]
add dword [edi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x7743a0
jmp 0x7743ae
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 0x130]
mov eax, dword [esi + 0xd4]
push edx
push eax
call fcn.007795d0
mov ecx, dword [esi + 0x134]
mov edx, dword [esi + 0xf4]
push ecx
push edx
mov dword [esi + 0xd4], eax
call fcn.007795d0
mov dword [esi + 0xf4], eax
mov edx, dword [edi + ebx*4]
mov eax, dword [esp + 0x28]
shl edx, 0xa
mov dword [edi + ebx*4], edx
shl dword [eax + ebx*4], 0xa
shl dword [edi + ebx*4 + 4], 0xa
shl dword [eax + ebx*4 + 4], 0xa
shl dword [edi + ebx*4 + 8], 0xa
shl dword [eax + ebx*4 + 8], 0xa
shl dword [edi + ebx*4 + 0xc], 0xa
shl dword [eax + ebx*4 + 0xc], 0xa
mov eax, dword [esi + 0x1c]
add esp, 0x10
test eax, eax
jne 0x7745bc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edx
jne 0x7744b7
test ecx, ecx
jne 0x7744b7
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x774559
mov ecx, dword [esp + 0x18]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov eax, dword [ecx + eax]
mov edx, dword [esp + 0x44]
mov ecx, dword [ecx]
push eax
push edx
mov dword [esp + 0x2c], ecx
call fcn.007795d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.007795d0
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add ecx, 4
add esp, 0x10
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
jne 0x774461
jmp 0x774559
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x774559
mov eax, dword [esp + 0x18]
sub edi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ecx
jmp 0x7744e0
mov edi, dword [esp + 0x30]
jmp 0x7744e0
mov edi, dword [eax + edi]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
push eax
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
call fcn.007795d0
mov ecx, dword [esp + 0x4c]
push edi
push ecx
mov dword [esp + 0x48], eax
call fcn.007795d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x40]
mov dword [edx + eax], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.007795d0
mov ecx, dword [esp + 0x54]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call fcn.007795d0
mov ecx, dword [esp + 0x3c]
add edi, eax
mov eax, dword [esp + 0x30]
mov dword [eax], edi
add eax, 4
add esp, 0x20
dec ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
jne 0x7744d7
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0xd4]
mov edx, dword [esp + 0x44]
push eax
push edx
mov dword [esp + 0x28], eax
call fcn.007795d0
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.007795d0
mov edx, dword [esp + 0x50]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xf4]
push eax
push edx
mov dword [esp + 0x3c], eax
call fcn.007795d0
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xf0], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
call fcn.007795d0
add esp, 0x20
mov dword [esi + 0xf4], eax
mov eax, dword [edi + ebx*4]
mov edx, dword [edi + ebx*4 + 4]
sub edx, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xcc], edx
mov edx, dword [eax + ebx*4]
mov ecx, dword [eax + ebx*4 + 4]
sub ecx, edx
mov dword [esi + 0xd0], ecx
mov ecx, dword [edi + ebx*4 + 0xc]
mov edx, dword [edi + ebx*4 + 8]
sub edx, ecx
mov dword [esi + 0xe8], edx
mov edx, dword [eax + ebx*4 + 0xc]
mov ecx, dword [eax + ebx*4 + 8]
sub ecx, edx
mov dword [esi + 0xec], ecx
sar dword [edi + ebx*4], 0xa
sar dword [eax + ebx*4], 0xa
sar dword [edi + ebx*4 + 4], 0xa
sar dword [eax + ebx*4 + 4], 0xa
sar dword [edi + ebx*4 + 8], 0xa
sar dword [eax + ebx*4 + 8], 0xa
sar dword [edi + ebx*4 + 0xc], 0xa
sar dword [eax + ebx*4 + 0xc], 0xa
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp eax, ecx
mov dword [esi + 0x118], ecx
mov dword [esi + 0x114], ecx
mov dword [esi + 0x110], ecx
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], ecx
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], ecx
mov byte [ebp + 0x74], 1
mov dword [esp + 0x10], 0xff
je 0x7746d0
cmp dword [esp + 0x34], ecx
je 0x7746d0
cmp dword [esi + 0x1c], ecx
je 0x7746a2
mov edx, dword [esi + 0x17c]
mov eax, dword [edx + 0x24]
mov edx, dword [eax + 0x7c]
mov eax, edx
and eax, 0xff
cmp eax, 0xff
je 0x774699
mov dword [esp + 0x10], eax
test dh, 0x20
je 0x7746a2
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x17c]
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x7c]
mov edx, eax
shr edx, 0x11
and edx, 1
mov dword [esp + 0x64], edx
mov edx, eax
shr edx, 0x12
and edx, 1
shr eax, 0x10
and al, 1
mov dword [esp + 0x4c], edx
mov byte [ebp + 0x74], al
jmp 0x7746d4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x120], eax
jle 0x7746e4
mov byte [ebp + 0x74], 0
mov al, byte [esp + 0xbc]
test al, 2
je 0x774b3b
cmp word [ebp + 0x38], cx
jle 0x774b3b
cmp byte [esi + 0x16c], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
je 0x774720
test al, 1
je 0x774720
cmp dword [esi + 0x164], 0x18
mov byte [esp + 0x24], 1
jle 0x774725
mov byte [esp + 0x24], 0
cmp dword [ebp + 0xc], ecx
jg 0x774a87
mov cx, word [esi + 0x104]
mov al, byte [ebp + 0x74]
mov word [esp + 0x20], cx
mov cl, byte [esp + 0xb8]
test cl, cl
mov byte [esp + 0x40], al
mov byte [esp + 0x3c], al
jne 0x77479b
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x77479b
test al, al
je 0x77479b
mov eax, dword [esp + 0x20]
cmp ax, 0x800
jae 0x77479b
movzx ecx, ax
mov eax, ecx
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x10]
shr eax, 3
test byte [eax + ecx], dl
je 0x774787
mov byte [esp + 0x3c], 0
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x14]
test byte [eax + ecx], dl
mov edx, dword [esp + 0x4c]
je 0x77479b
mov byte [esp + 0x40], 0
mov eax, dword [esi + 0x17c]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x7748fe
cmp word [ecx + 0x38], 0x7d2
jne 0x7748fe
mov ecx, dword [eax + 0xb0]
test ecx, ecx
jne 0x7748fe
mov eax, dword [eax + 0x3c]
movsx edx, word [eax + 0xc]
movsx eax, word [eax + 0xa]
mov ecx, dword [esi + 0x17c]
sub edx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 0xb8]
push edx
push ecx
call fcn.007795d0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x3c]
movsx edx, word [edx + 0xa]
mov ecx, dword [ecx + 0xa4]
add eax, edx
push ecx
push eax
mov dword [esp + 0x48], eax
call fcn.007795d0
mov edx, dword [esi + 0x17c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xa8]
push eax
push ecx
call fcn.007795d0
mov edx, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x40]
push edx
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
push eax
xor eax, eax
mov ax, word [ebp + 0x36]
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0077b0f0
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x28]
add esp, 0x34
test eax, eax
je 0x774873
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x48]
push edx
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
push edx
push eax
push ecx
jmp 0x774889
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push edx
push eax
push ecx
push 0
push 0
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dl, byte [esp + 0xd4]
and edx, 0xffffff20
push edx
push eax
call fcn.0077b140
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
mov dword [esi + 0x108], edx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
add esp, 0x20
sub ecx, edx
mov dword [esi + 0x10c], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0xdc], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0xe0], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0xf8], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0xfc], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x110], edx
jmp 0x774a87
mov eax, dword [esp + 0xbc]
test ah, 1
mov dword [esp + 0x10], 0
je 0x77491a
mov dword [esp + 0x10], 1
mov eax, dword [esi + 0x160]
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x48]
push ecx
push edx
mov edx, dword [esp + 0xc8]
xor ecx, ecx
mov cl, byte [ebp + 0x34]
push eax
mov eax, dword [ebp + 0x4c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push ecx
xor ecx, ecx
mov cx, word [ebp + 0x36]
push edi
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call fcn.0077c430
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
add esp, 0x38
test eax, eax
je 0x774986
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
push edx
push eax
push ecx
jmp 0x774997
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
push edx
push eax
push ecx
push 0
push 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov dl, byte [esp + 0xd0]
and edx, 0xffffff20
push edx
push eax
push ecx
call fcn.0077c680
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x20]
mov dword [esi + 0x2c], edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
mov dword [esi + 0x108], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub edx, ecx
mov dword [esi + 0x10c], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xdc], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0xe0], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xf8], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0xfc], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x110], ecx
mov cl, byte [esp + 0xd8]
add esp, 0x20
test cl, cl
jne 0x774a87
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x774a87
test byte [esp + 0xbc], 0x20
jne 0x774a87
mov ecx, dword [eax + 0x220c]
test ecx, ecx
mov ecx, dword [esp + 0x20]
jne 0x774a5d
cmp cx, 0x800
jae 0x774a5d
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
movzx ecx, cx
mov edx, ecx
shr edx, 3
add eax, edx
and ecx, 7
mov dl, 1
shl dl, cl
or byte [eax], dl
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x2210]
test edx, edx
jne 0x774a87
cmp cx, 0x800
jae 0x774a87
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 0x14]
movzx ecx, cx
mov eax, ecx
shr eax, 3
add eax, edx
and ecx, 7
mov dl, 1
shl dl, cl
or byte [eax], dl
mov eax, dword [edi + ebx*4 + 8]
mov ecx, dword [esi + 0xfc]
sub ecx, eax
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xfc], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + ebx*4 + 8]
sub eax, edx
mov dword [esi + 0xf8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp eax, edx
jg 0x774ae2
mov eax, dword [esp + 0x34]
cmp eax, edx
je 0x774acc
mov ebp, dword [eax]
mov dword [esi + 0x114], ebp
mov dword [eax], edx
jmp 0x774adc
mov eax, dword [esp + 0x28]
mov ebp, dword [eax + 0x1c]
mov dword [esi + 0x114], ebp
mov dword [eax + 0x1c], edx
mov dword [esi + 0x118], edx
mov edi, dword [edi + ebx*4]
cmp edi, edx
je 0x774aef
sub dword [esi + 0xe0], edi
mov ebx, dword [ecx + ebx*4]
cmp ebx, edx
je 0x774afc
sub dword [esi + 0xdc], ebx
mov ecx, dword [esi + 0xe0]
mov ebp, dword [esi + 0xdc]
mov eax, 0xffffffc0
and ecx, eax
and ebp, eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xdc], ebp
call fcn.0077d070
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0077b170
mov al, byte [esp + 0xc4]
add esp, 8
test al, 4
jne 0x774b58
mov edx, dword [esi + 0x100]
push edx
call fcn.0077a020
add esp, 4
mov dword [esi + 0x100], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret