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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x10100008]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], edx
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], edi
mov eax, dword [edi]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], ecx
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x38], eax
cmp dword [edi + 0x40], ecx
jne 0x1004ab24
cmp byte [eax + 0x40], cl
jne 0x1004ab24
mov ecx, edi
call fcn.100498e0
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1004ab24
mov eax, dword [edi]
xor esi, esi
xor edx, edx
test dword [eax + 0x18], 0x800000
je 0x10049c55
mov edx, ebx
mov ecx, edi
call fcn.10069fd0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x10049c73
nop dword [eax + eax]
cmp byte [ecx + 8], 0x6d
jne 0x10049c6c
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x10049c60
xor eax, eax
mov ecx, edi
test esi, esi
cmovne eax, edx
mov edx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
call fcn.10044a00
test eax, eax
jne 0x1004ab24
cmp dword [esp + 0x40], eax
mov edx, ebx
mov ecx, edi
setne al
push eax
call fcn.10049970
add esp, 4
test eax, eax
jne 0x1004ab24
mov edx, dword [ebx + 0x44]
mov ebx, 0xfff0bdc0
mov esi, dword [esp + 0x38]
test edx, edx
je 0x10049cdd
mov ecx, dword [esi + 0x14]
xor ebx, ebx
test ecx, ecx
jle 0x10049cdd
mov eax, dword [esi + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x10049cdd
inc ebx
add eax, 0x10
cmp ebx, ecx
jl 0x10049cd1
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov esi, dword [esp + 0x1c]
mov edx, 9
shl ecx, 4
mov dword [esp + 0x64], ecx
push dword [ecx + eax]
mov ecx, edi
push 0
push dword [esi]
call fcn.10040f50
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x1004ab24
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x44]
test eax, eax
je 0x10049d41
inc ecx
inc edx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10049d31
mov dword [esp + 0x78], edx
cmp dword [esp + 0x68], 0
je 0x10049d66
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
mov dword [esp + 0x90], edi
mov dword [edi + 0x1ec], eax
jmp 0x10049d82
mov eax, dword [esp + 0x88]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
mov ecx, edi
call fcn.10061fb0
mov esi, eax
test esi, esi
je 0x1004ab0c
cmp byte [edi + 0x12], 0
jne 0x10049d9d
or dword [esi + 0x58], 0x10
mov eax, dword [edi + 0x198]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x4c], edx
mov ecx, dword [edx + 0x14c]
test ecx, eax
jne 0x10049df0
mov eax, dword [edx]
bts ecx, ebx
mov dword [edx + 0x14c], ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov eax, dword [eax]
mov dword [edx + ebx*4 + 0x150], eax
cmp ebx, 1
jne 0x10049df0
mov ecx, edx
call fcn.10047f10
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x148]
or byte [edx + 0x14], 1
bts eax, ebx
cmp dword [esp + 0x68], 0
mov dword [edx + 0x148], eax
je 0x10049e30
push dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x60]
call fcn.10049a00
mov ecx, dword [esp + 0x34]
add esp, 8
mov eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], eax
jmp 0x10049e34
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x94]
xorps xmm0, xmm0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
call fcn.10035710
test eax, eax
jne 0x1004ab0c
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x10049ee6
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x10049eb2
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x10049ee6
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
jne 0x1004a051
cmp dword [esp + 0x5c], 0
jne 0x1004a051
cmp dword [esp + 0x40], 0
jne 0x1004a051
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x2c], 0x10
jne 0x1004a051
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x10049f56
mov eax, ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x44]
mov edx, dword [eax]
add ecx, 0x38
call fcn.100090a0
add esp, 4
test eax, eax
je 0x10049f48
cmp dword [eax + 8], 0
jne 0x1004a051
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0
jne 0x1004a051
mov eax, dword [ecx]
mov edx, ebx
push eax
push 1
push dword [ecx + 0x20]
mov ecx, edi
call fcn.10040ff0
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [eax + 0x2c], 0x20
jne 0x10049fe4
mov ecx, dword [eax]
mov eax, dword [eax + 0x20]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], ecx
cmp dword [eax + 0x54], edi
jg 0x10049f9e
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x10049f9e
mov edi, 1
jmp 0x10049fce
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x76
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffe
push dword [esp + 0x44]
mov edx, edi
mov ecx, esi
call fcn.10022e70
mov eax, dword [esp + 0x24]
add esp, 8
mov edi, dword [eax + 8]
test edi, edi
je 0x1004aa59
nop
mov eax, dword [edi + 0x2c]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a015
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a045
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x76
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10049ff0
jmp 0x1004aa59
mov ebx, dword [esp + 0x1c]
test byte [ebx + 0x2c], 0x20
jne 0x1004a0c1
inc dword [edi + 0x48]
xor ebx, ebx
mov eax, dword [edi + 0x48]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a095
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a193
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], bl
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
jmp 0x1004a193
mov ebx, dword [ebx + 8]
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x1004a0e4
nop dword [eax]
mov eax, dword [ebx + 0x38]
and al, 3
cmp al, 2
je 0x1004a0e0
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x1004a0d0
mov dword [esp + 0x48], ebx
movzx ecx, word [ebx + 0x32]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x3c], ecx
movsx ecx, cx
lea edx, [eax + 1]
add eax, ecx
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x44], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a132
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a12e
mov ecx, 1
mov dword [esp + 0x50], ecx
jmp 0x1004a16d
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
movsx edx, bx
mov ebx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 8]
mov edx, ebx
push 0xfffffffffffffffa
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.10048990
add esp, 4
or edx, 0xffffffff
mov ecx, edi
push eax
call fcn.10022e70
mov edi, dword [esp + 0x3c]
add esp, 8
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x58]
inc eax
push eax
push 0xc
push 0
push 0
push dword [esp + 0x6c]
call fcn.10078be0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004ab0c
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0x40]
mov al, byte [eax + 0x26]
mov byte [esp + 0x13], al
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
test byte [eax + 0x18], 0x80
je 0x1004a238
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a204
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a238
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test ebx, ebx
je 0x1004a292
mov edx, dword [esp + 0x3c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ecx
cmp ax, dx
jge 0x1004a288
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov edx, edi
add eax, ecx
push eax
mov eax, dword [ebx + 4]
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x34]
call fcn.100398d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x3c]
inc ecx
movsx eax, dx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x1004a251
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
jmp 0x1004a2b9
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x1c]
inc eax
push 0
push eax
push dword [esp + 0x34]
push 0xffffffffffffffff
call fcn.10039a20
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x48]
jle 0x1004a2b9
mov dword [edi + 0x48], eax
cmp byte [esp + 0x13], 0
je 0x1004a3da
mov eax, dword [esp + 0x3c]
movzx ecx, ax
mov eax, dword [esp + 0x78]
add eax, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
cdq
push edx
push eax
call fcn.10005140
mov ecx, eax
add esp, 8
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x1004a2fd
mov ecx, dword [esp + 0x14]
call fcn.10079690
jmp 0x1004ab0c
mov eax, dword [esp + 0x78]
inc eax
push eax
push 1
push ecx
call fcn.100c1720
mov eax, dword [esp + 0x84]
add esp, 0xc
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x80]
test eax, eax
js 0x1004a333
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x20]
test eax, eax
js 0x1004a341
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1004a38b
cmp eax, dword [esi + 0x20]
jge 0x1004a38b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.10022c70
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9a
mov eax, dword [esi + 0x20]
mov edi, dword [esp + 0x34]
dec eax
cmp dword [esp + 0x50], eax
jne 0x1004a38b
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x70], edx
cmp dword [eax + 0x54], edx
jg 0x1004a3b6
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a3b2
mov dword [esp + 0x70], 1
jmp 0x1004a516
mov edx, dword [esp + 0x70]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
jmp 0x1004a501
test ebx, ebx
je 0x1004a4bc
inc dword [edi + 0x48]
mov edx, ebx
mov eax, dword [edi + 0x48]
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
call fcn.10051700
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x80], eax
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [ecx + 0x54], edx
jg 0x1004a433
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a42c
mov eax, dword [esp + 0x3c]
mov edx, 1
cwde
jmp 0x1004a477
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
lea ecx, [edx + edx*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x3c]
movsx ebx, bx
mov dword [esp + 0x20], ebx
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x84]
mov ecx, esi
call fcn.10022e70
mov eax, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a4a7
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a516
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x6e
jmp 0x1004a4f5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a4e2
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a516
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov byte [eax + ecx*4 + 3], 0
mov ecx, dword [esp + 0x14]
call fcn.10079690
cmp byte [esp + 0x13], 0
je 0x1004a5ae
mov ecx, esi
call fcn.10022950
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x7c], eax
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [ecx + 0x54], edx
jg 0x1004a558
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a58d
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x20]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x70]
cmp edx, eax
jbe 0x1004a5a5
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
cmp dword [esp + 0x68], 0
jne 0x1004a5df
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
push dword [esp + 0x68]
push dword [esp + 0x38]
push 0x37
call fcn.100553a0
mov eax, dword [esp + 0x78]
add esp, 0x14
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x13], 0
je 0x1004a6c4
mov ebx, dword [esp + 0x30]
mov eax, ebx
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
cmp byte [eax + ecx], 0
je 0x1004a667
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x1004a61b
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a61b
mov ebx, 1
jmp 0x1004a64f
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x44
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov edx, ebx
cwde
mov ecx, esi
push 0xfffffffffffffff2
push eax
call fcn.10022e70
add esp, 8
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x2c], 0x10
je 0x1004a858
mov ebx, dword [ecx + 0x3c]
test ebx, ebx
je 0x1004a68f
mov eax, dword [esp + 0x38]
cmp dword [ebx], eax
je 0x1004a68f
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x1004a684
mov edx, ecx
mov ecx, edi
call fcn.1006f990
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
cmp dword [eax + 0x54], edx
jg 0x1004a7ee
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a7ea
mov edx, 1
jmp 0x1004a826
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 0x54]
test ebx, ebx
je 0x1004a789
mov ecx, edx
cmp eax, edx
jg 0x1004a6fb
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a6f4
mov dword [esp + 0x28], 1
jmp 0x1004a732
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x1004a74c
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a663
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x65
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1004a66b
mov dword [esp + 0x28], edx
cmp eax, edx
jg 0x1004a7ad
mov ecx, esi
call fcn.10022820
test eax, eax
je 0x1004a7a9
mov dword [esp + 0x28], 1
jmp 0x1004a663
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x81
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1004a66b
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x34]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff6
push ebx
mov ecx, esi
call fcn.10022e70
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x1004a845
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x1004a886
push dword [esp + 0x84]
cmp byte [edi + 0x12], 0
push 0xa
sete al
movzx eax, al
push eax
push dword [esp + 0x30]
push edx
push dword [esp + 0x60]
mov edx, ecx
mov ecx, edi
push ebx
push dword [esp + 0x5c]
call fcn.1004abd0
add esp, 0x20
cmp byte [esp + 0x13], 0
mov ecx, dword [esi + 0x18]
je 0x1004a8b3
mov ebx, dword [esp + 0x7c]
not ebx
test ebx, ebx
js 0x1004a8a7
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x1004a8a7
mov eax, dword [esi + 0x20]
mov dword [edx + ebx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
jmp 0x1004a97c
cmp dword [esp + 0x48], 0
mov ebx, dword [esi + 0x20]
mov eax, dword [ecx + 0x54]
mov ecx, ebx
je 0x1004a912
cmp eax, ebx
jg 0x1004a8d8
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a95b
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 9
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
inc eax
mov dword [ecx + 8], eax
jmp 0x1004a95b
cmp eax, ebx
jg 0x1004a924
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a95b
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x20]
cmp edx, eax
jbe 0x1004a973
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
cmp dword [esp + 0x68], 0
jne 0x1004aa5d
mov ebx, dword [esp + 0x1c]
test byte [ebx + 0x2c], 0x10
jne 0x1004aa5d
cmp dword [esp + 0x48], 0
jne 0x1004a9f4
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x84], ecx
cmp dword [eax + 0x54], ecx
jg 0x1004a9c0
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004a9f4
mov ecx, dword [esp + 0x84]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004aa5d
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x1004aa19
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004aa49
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
inc edi
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1004aa03
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x12], 0
jne 0x1004aa73
cmp dword [edi + 0x19c], 0
jne 0x1004aa73
mov ecx, edi
call fcn.10051d40
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x1004ab0c
cmp byte [edi + 0x12], 0
jne 0x1004ab0c
cmp dword [edi + 0x19c], 0
jne 0x1004ab0c
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1004aaae
mov ecx, esi
call fcn.10022820
test eax, eax
jne 0x1004aae2
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x23
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, esi
call fcn.10023ee0
mov eax, dword [esi]
cmp byte [eax + 0x40], 0
jne 0x1004ab0c
mov ecx, dword [esi + 0x10]
mov edx, str.rows_deleted
push 0
push 1
push 0xffffffffffffffff
call fcn.10021dd0
add esp, 0xc
mov eax, dword [esp + 0x90]
test eax, eax
je 0x1004ab24
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x1ec], ecx
mov edi, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x58]
call fcn.10047870
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.100368c0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1004abb3
test edi, edi
je 0x1004abaa
cmp dword [edi + 0x208], 0
je 0x1004ab71
mov edx, ecx
mov ecx, edi
call fcn.10004e90
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100be889
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edi + 0x114]
jb 0x1004abaa
cmp ecx, dword [edi + 0x118]
jae 0x1004abaa
mov eax, dword [edi + 0x110]
mov dword [ecx], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100be889
mov esp, ebp
pop ebp
ret
push ecx
call fcn.10004df0
add esp, 4
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100be889
mov esp, ebp
pop ebp
ret