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

Disassembly:
push 0xffffffffffffffff
push 0x5d7e96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [esp + 0x284]
push ebx
push ebp
shr eax, 0xc
push esi
not eax
push edi
and eax, 1
xor ebx, ebx
push 0x75d7f4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 0xffffffff
call dword [fcn.005df108]
mov al, byte [0x75c0e0]
test al, al
mov esi, dword [esp + 0x27c]
je 0x810f23
push 0x75c9f4
call fcn.0084f092
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x54], eax
je 0x810f23
push eax
mov eax, dword [0x75bf40]
push eax
push 0x5e3da8
lea ecx, [esp + 0x78]
push 0x6021e8
push ecx
call fcn.00924817
add esp, 0x14
jmp 0x810f58
mov eax, dword [esi + 0x12f4]
push eax
lea edx, [eax + 1]
mov eax, dword [esi + 0x12d0]
push eax
mov dword [esi + 0x12f4], edx
mov ecx, dword [0x75bf40]
push ecx
push 0x5e3da8
lea edx, [esp + 0x7c]
push 0x6021d8
push edx
call fcn.00924817
add esp, 0x18
push 6
push 0x5df350
push 0x75d258
call fcn.00846562
add esp, 4
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, eax
push ecx
call fcn.00844412
mov eax, dword [0x75d1a4]
add esp, 0x14
test eax, eax
je 0x810f9a
mov eax, dword [0x75d4d4]
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [edx + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x288]
test ecx, ecx
mov edi, dword [esp + 0x280]
je 0x811008
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x810fbe
xor ecx, ecx
mov dword [esp + 0x288], ecx
jmp 0x810fe7
mov eax, ecx
mov edx, 0xff
mov esi, dword [eax + 4]
mov esi, dword [esi]
mov byte [esi + 0x24], 4
mov esi, dword [eax + 4]
mov esi, dword [esi]
cmp dword [esi + 0x20], edx
jb 0x810fdd
mov ebx, 1
mov eax, dword [eax]
test eax, eax
jne 0x810fc5
mov dword [esp + 0x30], ebx
cmp dword [edi + 0x54], 0x2000
jb 0x810ff9
mov ebx, 1
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x811008
mov dword [esp + 0x28c], 0
mov esi, dword [edi + 0x44]
mov ebp, dword [edi + 0x40]
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
add esi, ebp
add esi, eax
test ecx, ecx
mov dword [esp + 0x4c], edx
je 0x811029
test ebx, ebx
jne 0x811029
mov edx, dword [edi + 0x54]
jmp 0x81102b
xor edx, edx
lea eax, [esp + 0x6c]
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x811032
push 0
push edx
sub eax, ebp
inc eax
lea edx, [esp + 0x48]
push edx
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 0x50]
lea edx, [esi + 2]
shl edx, 6
push edx
inc eax
lea eax, [eax + eax*2]
shl eax, 3
lea ecx, [edi + 0x34]
push ecx
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x28
lea eax, [edi + 0x38]
push eax
mov eax, dword [edi + 0x48]
lea edx, [eax*4 + 4]
push edx
lea eax, [esp + 0x88]
push eax
lea ebp, [esi*4]
push ebp
lea ecx, [esp + 0x98]
push ecx
lea ebx, [ebp + 4]
push ebx
lea edx, [esp + 0x6c]
push edx
push ebx
lea eax, [esp + 0x60]
push eax
push 0x510
lea ecx, [esp + 0x60]
push ecx
push 0x10
call fcn.00843af2
add esp, 0x58
test eax, eax
jne 0x8110cc
mov edx, dword [esp + 0x54]
push edx
push 0x75c9f4
call fcn.0084f102
add esp, 8
jmp 0x811500
lea eax, [esi + esi*8]
lea ecx, [eax*8 + 4]
push ecx
call fcn.0083d7f2
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0x274], 0
je 0x811114
push 0x43f710
push 0x4a5da0
push esi
mov dword [eax], esi
add eax, 4
push 0x48
push eax
mov dword [esp + 0x58], eax
call fcn.00925dd8
mov eax, dword [esp + 0x44]
jmp 0x811116
xor eax, eax
test eax, eax
mov dword [esp + 0x274], 0xffffffff
mov dword [esp + 0x50], eax
mov dword [edi + 0x18], eax
jne 0x81114d
mov edx, dword [esp + 0x54]
push edx
push 0x75c9f4
call fcn.0084f102
mov eax, dword [esp + 0x18]
push eax
call fcn.00841642
add esp, 0xc
jmp 0x811500
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x280]
lea edx, [esp + 0x6c]
push edx
push eax
mov dword [esi + 0x2c], ecx
call fcn.00916e12
mov edi, dword [esp + 0x18]
xor eax, eax
mov ecx, 0x144
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x68]
xor eax, eax
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1ac], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1a8], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2a4]
mov dword [edx + 0x1a4], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x164], 0xa
mov edx, dword [esp + 0x18]
mov dword [edx + 0x104], 3
mov eax, dword [esp + 0x18]
mov dword [eax + 0x124], 8
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword [ecx + 0x1c0], eax
mov edx, dword [esp + 0x18]
xor edi, edi
mov dword [edx + 0x1c4], edi
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x130], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov byte [edx + 0x13e], al
mov eax, dword [esp + 0x18]
mov dword [eax + 0x4fc], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x284]
mov byte [edx + 0x134], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 0x504], ecx
mov eax, dword [esp + 0x28c]
mov edx, dword [esp + 0x68]
add esp, 8
mov dword [esi + 0x60], edi
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], eax
mov ebp, dword [eax + 4]
cmp ebp, edi
je 0x8115bb
jmp 0x8112b2
mov esi, dword [esp + 0x280]
lea ebx, [ebx]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x30]
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov edi, eax
je 0x8112f4
mov al, byte [ebp + 0x29]
test al, al
je 0x8112dc
cmp edi, 2
je 0x8112dc
mov dword [esi + 0x60], 1
jmp 0x81159e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x6c]
test eax, eax
je 0x8112f4
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x81159e
cmp edi, 2
jne 0x811467
mov ecx, dword [esp + 0x288]
xor eax, eax
cmp ecx, eax
jne 0x811467
cmp dword [esp + 0x290], eax
jne 0x811467
cmp dword [ebp + 0x44], eax
mov dword [ebp + 0x34], eax
mov dword [esp + 0x3c], eax
jbe 0x811590
mov ebx, dword [esp + 0x27c]
mov ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [ecx + edx*4]
lea eax, [ecx + edx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
test eax, eax
jne 0x81144e
mov ecx, dword [esp + 0x280]
mov edx, dword [ecx + 0x64]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi]
push 0
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x24]
push eax
push esi
push ecx
push ebx
call fcn.00810a32
mov esi, eax
add esp, 0x24
test esi, esi
je 0x8114cf
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [edx], esi
mov edx, dword [esp + 0x18]
mov edi, 4
add edx, edi
mov dword [esp + 0x18], edx
mov eax, dword [esi]
add ebx, edi
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [eax + 0x30]
mov ecx, dword [esp + 0x20]
add ecx, eax
test byte [esi + 0x50], 0x10
mov dword [esp + 0x20], ecx
je 0x8113de
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ecx], esi
mov ecx, dword [esp + 0x2c]
add ecx, edi
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
push 0x60
call fcn.0083d7f2
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov dword [esp + 0x274], 1
je 0x811407
push esi
mov ecx, eax
call fcn.00785e22
mov edi, eax
jmp 0x811409
xor edi, edi
mov ebx, dword [esp + 0x27c]
mov edx, dword [ebx + 0x1250]
cmp dword [edx + 0x2c], 2
mov dword [esp + 0x274], 0xffffffff
je 0x81143a
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.007e8fe2
mov edx, dword [esp + 0x48]
mov dword [edx], edi
test byte [esi + 0x50], 1
jne 0x81144e
inc dword [esp + 0x24]
mov byte [edi + 0x26], 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jb 0x811332
jmp 0x811590
test ebx, ebx
jne 0x81147a
mov eax, dword [esp + 0x288]
test eax, eax
jne 0x81147a
xor eax, eax
jmp 0x81147f
mov eax, 1
mov ecx, dword [esp + 0x280]
mov edx, dword [ecx + 0x64]
mov ebx, dword [esp + 0x288]
mov ecx, dword [esp + 0x1c]
push edx
push eax
xor eax, eax
test ebx, ebx
mov ebx, dword [esp + 0x284]
setne al
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push edi
push ebp
push eax
push ebx
call fcn.00810a32
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x81151b
mov eax, dword [ebx + 0x1360]
test eax, eax
je 0x81159e
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x27c]
mov dword [edx], 0
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.008089d2
mov edx, dword [esp + 0x5c]
push edx
push 0x75c9f4
call fcn.0084f102
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x268
ret
cmp edi, 2
jne 0x811523
mov dword [ebp + 0x34], esi
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi]
mov edi, 4
add ebx, edi
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [edx + 0x30]
mov edx, dword [esp + 0x20]
add edx, eax
mov ax, word [esi + 0x50]
test al, 1
mov dword [esp + 0x20], edx
jne 0x81154f
inc dword [esp + 0x24]
test al, 0x10
je 0x81156c
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add ecx, edi
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
cmp byte [ebp + 0x24], 4
jne 0x811586
mov al, byte [ebp + 0x26]
test al, al
je 0x811586
mov ecx, dword [esp + 0x34]
inc ecx
or byte [esi + 0x51], 0x80
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
add dword [esp + 0x18], edi
dec dword [esp + 0x4c]
jne 0x81159e
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ebp, dword [eax + 4]
test ebp, ebp
mov dword [esp + 0x44], eax
jne 0x8112a5
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 2
test edi, edi
mov dword [esp + 0x38], eax
mov dword [edx], 0
jne 0x81162b
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x81162b
mov eax, dword [esp + 0x294]
mov ecx, eax
and ecx, 0x108
cmp ecx, 0x100
je 0x81162b
test eax, 0x40000000
jne 0x81162b
mov edx, dword [esp + 0x10]
mov dword [edx + 0xf0], 6
mov eax, dword [esp + 0x10]
push 6
push eax
call fcn.00781782
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
jmp 0x8116d1
mov edx, dword [esp + 0x10]
mov dword [edx + 0xf0], 9
mov eax, dword [esp + 0x10]
push 9
push eax
call fcn.00781782
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x290]
add esp, 8
test eax, eax
je 0x8116c9
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x148]
cmp eax, 0x10
jbe 0x811675
mov eax, 0x10
jmp 0x81167f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x148]
mov ecx, dword [esp + 0x280]
cmp dword [ecx + 0x50], eax
ja 0x8116bf
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14c]
cmp eax, 0x400
jbe 0x8116a9
mov eax, 0x400
jmp 0x8116b3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14c]
mov ecx, dword [esp + 0x280]
cmp dword [ecx + 0x54], eax
jbe 0x8116c9
mov dword [esp + 0x30], 1
jmp 0x8116df
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x8116df
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x20], eax
test edi, edi
mov eax, dword [esp + 0x10]
mov dword [eax + 0x80], edi
jne 0x811706
mov ecx, dword [esp + 0x280]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x811702
inc ebx
mov dword [esp + 0x5c], ebx
jmp 0x811706
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 7]
shr eax, 3
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
add eax, 7
shr eax, 3
add eax, ebx
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
jne 0x811734
mov dword [esp + 0x20], 1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov dword [edx + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x58], esi
mov edx, dword [esp + 0x10]
add esi, 0xc
and esi, 0xfffffff8
lea eax, [esi + esi*2]
push 0x10
push eax
mov dword [edx + 0x5c], esi
call fcn.008415b2
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x44], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
add esp, 8
test eax, eax
je 0x8114cf
add eax, esi
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x48]
add edx, esi
mov dword [eax + 0x4c], edx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov dword [eax], 0
mov eax, dword [esp + 0x280]
mov ebp, dword [eax + 0x34]
add eax, 0x34
test edx, edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x44]
lea ecx, [edi + edx]
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], ecx
je 0x811822
xor eax, eax
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov word [ebp], ax
mov word [ebp + 2], dx
or eax, 0xffffffff
mov ecx, edx
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov dword [eax + 0x1d0], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
add ebp, 0x20
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1bc], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x280]
xor ebx, ebx
test edx, edx
mov edx, dword [ecx + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
sete bl
test ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], 0
jbe 0x8119e8
mov edx, dword [esp + 0x18]
mov esi, dword [edx]
xor eax, eax
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov ax, word [esi + 0x50]
test al, 1
jne 0x8118fc
test ah, ah
jns 0x8118c3
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x8118c3
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
inc eax
mov word [ebp + 2], 1
mov word [ebp], 0
mov dword [esp + 0x1c], eax
add ebp, 0x20
xor edx, edx
mov eax, ebp
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
jmp 0x8118d8
mov ecx, ebx
and ecx, 7
mov dl, 1
shl dl, cl
mov eax, ebx
shr eax, 3
mov word [ebp + 0xa], ax
mov byte [ebp + 8], dl
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, ebx
mov dword [esi + 8], ecx
shr edx, 3
add edx, eax
mov ecx, ebx
and ecx, 7
mov al, 1
shl al, cl
mov dword [esi + 0xc], edx
inc ebx
mov byte [esi + 0x52], al
jmp 0x81190e
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov byte [esi + 0x52], 0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x811940
mov edx, dword [esp + 0x290]
mov edi, dword [esp + 0x50]
push edx
push eax
push esi
mov ecx, edi
call fcn.00772c92
add edi, 0x48
mov dword [esp + 0x50], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov word [ebp + 2], di
mov al, byte [esi + 0x50]
add ecx, edi
test al, 0x10
mov dword [esp + 0x1c], ecx
je 0x811966
mov word [ebp], 4
jmp 0x8119a8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x44]
test eax, eax
jne 0x8119a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
cmp eax, 0xfe
je 0x81198d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x50]
cmp eax, 0xfd
jne 0x8119a2
cmp edi, 0xa
jb 0x8119a2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x8119a2
mov word [ebp], 1
jmp 0x8119a8
mov word [ebp], 0
dec dword [esp + 0x4c]
jne 0x8119b4
add ebx, 7
and ebx, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1a4]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], ecx
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc eax
add esi, 4
add ebp, 0x20
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
jb 0x811856
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x30], ebp
mov ecx, dword [eax + 0x58]
mov esi, dword [eax + 0x44]
mov edi, dword [eax + 0x4c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x27c]
mov eax, dword [ecx + 0x99c]
cmp eax, 0xffffffff
jne 0x811a2e
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xcc], eax
jmp 0x811a52
mov esi, dword [esp + 0x10]
cmp dword [esi + 0xf0], 6
jne 0x811a47
mov ecx, dword [ecx + 0x94c]
cmp eax, ecx
jb 0x811a47
mov eax, ecx
xor edx, edx
div dword [esi + 0x58]
mov dword [esi + 0xcc], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xcc]
mov eax, 1
cmp edx, eax
jae 0x811a6b
mov dword [ecx + 0xcc], eax
mov ebx, dword [esp + 0x288]
mov edi, dword [esp + 0x280]
mov ebp, dword [edi + 0x38]
xor esi, esi
cmp ebx, esi
je 0x811c55
mov edx, dword [esp + 0x10]
mov dword [edx + 0x1f0], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x28], eax
mov eax, 1
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0x30]
xor edx, edx
cmp ecx, esi
mov ecx, dword [esp + 0x10]
setne dl
mov dword [ecx + 0x78], edx
mov edx, dword [esp + 0x10]
mov dword [edx + 0xb8], ebp
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x18], ecx
mov dword [ebp + 4], eax
mov eax, dword [edi + 0x50]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], eax
mov dword [ebp], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x14], esi
lea esp, [esp]
mov edx, dword [ebx + 4]
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x14]
mov esi, eax
movsx eax, byte [edx + 0x26]
mov byte [ecx + 0x16], 0
mov edx, dword [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x50], eax
mov dword [edx], esi
call fcn.007689e2
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
mov word [ecx + 0xc], ax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x15], al
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x15]
cmp al, 1
je 0x811b4a
cmp al, 0xf
je 0x811b4a
mov eax, 1
jmp 0x811b4c
xor eax, eax
mov word [ecx + 0x10], ax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x811c35
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x27c]
mov dword [ebx + 0x1c], edx
mov eax, dword [esp + 0x10]
mov edi, dword [ecx + 0x38]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x48], eax
call dword [edx + 0x78]
push eax
push esi
push edi
call fcn.00841a32
mov edi, eax
add esp, 0xc
test edi, edi
je 0x811bc9
mov eax, dword [edi + 0x10]
mov cl, byte [eax + 0x137]
test cl, cl
je 0x811b9e
and byte [edi + 0x50], 0xfe
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov edx, dword [edi]
and word [edi + 0x50], 0x9f1
mov ecx, edi
mov dword [edi + 0x48], eax
call dword [edx + 0x38]
test edi, edi
mov dword [ebx + 0x18], edi
je 0x8114cf
mov eax, dword [esp + 0x50]
test eax, eax
je 0x811c15
or dword [ebp + 4], 0x800
mov al, byte [esi + 0x52]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x16], al
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x44]
mov ecx, dword [esp + 0x14]
sub edx, esi
mov dword [ecx + 8], edx
mov ecx, dword [ebx + 0x1c]
inc ecx
mov dword [ebx + 0x1c], ecx
mov eax, ecx
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 8], eax
inc dword [esp + 0x40]
jmp 0x811c1c
mov edx, dword [esp + 0x40]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xc]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x280]
add eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 0xc]
add dword [ebp], eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebx]
add ecx, 0x18
test ebx, ebx
mov dword [esp + 0x14], ecx
jne 0x811ae2
mov eax, dword [esp + 0x28c]
test eax, eax
je 0x811e82
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
mov ebx, dword [edi + 0x4c]
mov esi, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esp + 0x298]
mov edx, 0
setne dl
mov dword [esp + 0x34], eax
sub edx, ebx
add edx, esi
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xcc], ecx
jbe 0x811ca5
mov dword [eax + 0xcc], ecx
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], ecx
mov byte [eax + 0x139], 1
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x811cca
mov edx, dword [esp + 0x10]
mov dword [edx + 0x78], eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.0083d822
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x8114cf
mov ecx, dword [esp + 0x10]
movzx eax, word [esp + 0x20]
mov dword [ecx + 0xb8], ebp
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
mov dword [ebp + 0x18], edx
mov dword [ebp + 4], 0x801
mov dword [ebp + 0x1c], 0x6021d4
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x20], ecx
je 0x811dd6
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x16], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov edx, dword [esp + 0x14]
push 0x60
mov word [edx + 0xc], ax
call fcn.0083d7f2
mov esi, eax
add esp, 4
mov dword [esp + 0x68], esi
test esi, esi
mov dword [esp + 0x274], 2
je 0x811da0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0xc]
mov edx, dword [ecx + 0x44]
push ecx
push 0
push 0
push 0
push 0
push eax
push edx
mov ecx, esi
call fcn.00770742
mov dword [esi], 0x5e07c8
mov dword [esi + 0x58], 0x6833c0
test byte [0x6833cc], 0x10
je 0x811d98
or byte [esi + 0x50], 0x80
mov dword [esi], 0x5e14e8
jmp 0x811da2
xor esi, esi
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov edx, dword [esp + 0x14]
mov word [edx + 0x10], 1
mov eax, dword [esp + 0x14]
mov byte [eax + 0x15], 2
mov eax, dword [esp + 0x14]
mov edi, 0x18
add eax, edi
mov dword [esp + 0x274], 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x811ddb
mov edi, 0x18
mov ecx, dword [esp + 0x280]
mov eax, dword [ecx + 0x4c]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
mov dword [esp + 0x18], edx
jae 0x811e82
sub ecx, eax
mov esi, ecx
mov eax, dword [esp + 0x14]
mov byte [eax + 0x16], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
call fcn.007689e2
mov edx, dword [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
mov word [ecx + 0xc], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x15], al
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x15]
cmp al, 1
je 0x811e64
cmp al, 0xf
je 0x811e64
mov eax, 1
jmp 0x811e66
xor eax, eax
mov word [ecx + 0x10], ax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 4
add ecx, edi
dec esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
jne 0x811e03
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x1360]
test eax, eax
jne 0x8114cf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x100], 1
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf0], 9
jne 0x811ed7
mov ecx, dword [esp + 0x294]
mov edx, dword [esp + 0x280]
push ecx
push edx
push eax
call fcn.008086d2
add esp, 0xc
test eax, eax
jne 0x8114cf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1a8]
push 4
push 2
push ecx
mov ecx, dword [eax]
mov esi, eax
call fcn.00780e12
test eax, eax
mov ecx, dword [esi]
je 0x811f08
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 0x14]
mov dword [esi + 0x104], 0
jmp 0x8114cf
mov eax, dword [ecx]
push 1
call dword [eax + 0xa0]
mov eax, dword [esp + 0x10]
jmp 0x811502