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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x117c
call sub.ntdll.dll__chkstk
mov eax, dword [0x105b00c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x28]
push esi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x30]
mov ebx, ecx
push edi
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x140], eax
call fcn.0101d44d
lea ecx, [ebp - 0x464]
call fcn.0102327a
lea ecx, [ebp - 0x7e4]
call fcn.0103143a
lea ecx, [ebp - 0xf5c]
call fcn.01036fe8
lea ecx, [ebp - 0x1074]
call fcn.01033dc0
lea ecx, [ebp - 0xc24]
call fcn.010242aa
lea ecx, [ebp - 0xb14]
call fcn.0102d149
lea ecx, [ebp - 0xd34]
call fcn.010325f5
lea ecx, [ebp - 0x6d4]
call fcn.01027bd0
lea ecx, [ebp - 0x8f4]
call fcn.01027bd0
lea ecx, [ebp - 0x5c4]
call fcn.01027bd0
lea ecx, [ebp - 0xa04]
call fcn.01027bd0
lea ecx, [ebp - 0x204]
call fcn.010250bc
lea ecx, [ebp - 0x117c]
call fcn.01021b06
lea ecx, [ebp - 0x4b4]
call fcn.01021b06
lea ecx, [ebp - 0x21c]
call fcn.0100dbb5
lea ecx, [ebp - 0xe44]
call fcn.010244c2
lea ecx, [ebp - 0x19c]
call fcn.01023790
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x110]
push edx
call dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0
pop esi
sub ecx, 1
push ecx
sbb eax, esi
push ecx
mov dword [ebp - 0x10c], eax
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
push dword [ebx + 0x7c]
mov edi, ecx
push dword [ebx + 0x78]
call fcn.0100dde3
cmp byte [ebp + 0x24], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], eax
jne 0x104007c
mov edi, dword [ebx + 0x44]
push dword [ebp - 0x114]
xor eax, eax
add edi, 3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
call fcn.01012fd5
cmp eax, esi
mov dword [ebp - 0x118], eax
je 0x1040174
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x118]
mov ecx, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
inc edi
push dword [ebp - 0x118]
push 1
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
mov ecx, dword [ebx + 0x20]
call fcn.0101029f
inc edi
cmp edi, 0x20
jb 0x1040052
push dword [ebp - 0x118]
call fcn.01013112
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0100e006
mov ecx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x180], ecx
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x164], 6
call fcn.01023851
test al, al
je 0x1040196
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
imul edi, dword [ebp + 0xc]
cmp edi, 0x10000
mov dword [ebp - 0x13c], edi
jbe 0x1040128
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
mov edi, 0x10000
mov dword [ebp - 0x13c], edi
call dword [eax + 8]
mov ecx, eax
mov eax, edi
xor edx, edx
div ecx
mov dword [ebp + 0xc], eax
xor edx, edx
mov eax, 0x2000
div edi
cmp edx, esi
je 0x1040136
inc eax
push ecx
push ecx
xor ecx, ecx
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov eax, esp
push ecx
mov dword [eax + 4], ecx
mov dword [eax], edx
push ecx
mov ecx, dword [ebp - 0x108]
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.0100f6be
lea ecx, [ebp - 0x112c]
call fcn.0101cb80
test al, al
jne 0x104026f
mov edi, dword [ebp - 0x114]
mov eax, dword [edi]
push 3
push esi
push 0x801
mov ecx, edi
call dword [eax + 0xc]
push 0x10011cc
push edi
call fcn.0100cf8e
pop ecx
pop ecx
xor bl, bl
lea ecx, [ebp - 0x19c]
call fcn.010237b9
lea ecx, [ebp - 0xe44]
call fcn.010244e3
lea ecx, [ebp - 0x21c]
call fcn.0100da83
lea ecx, [ebp - 0x4b4]
call fcn.01021b36
lea ecx, [ebp - 0x117c]
call fcn.01021b36
lea ecx, [ebp - 0x204]
call fcn.010250ec
lea ecx, [ebp - 0xa04]
call fcn.01027c15
lea ecx, [ebp - 0x5c4]
call fcn.01027c15
lea ecx, [ebp - 0x8f4]
call fcn.01027c15
lea ecx, [ebp - 0x6d4]
call fcn.01027c15
lea ecx, [ebp - 0xd34]
call fcn.0103251e
lea ecx, [ebp - 0xb14]
call fcn.0102d16a
lea ecx, [ebp - 0xc24]
call fcn.010242cb
lea ecx, [ebp - 0x1074]
call fcn.01033de8
lea ecx, [ebp - 0xf5c]
call fcn.01037009
lea ecx, [ebp - 0x7e4]
call fcn.0103145b
lea ecx, [ebp - 0x464]
call fcn.010232e6
lea ecx, [ebp - 0x112c]
call fcn.0101cb5b
mov ecx, dword [ebp - 4]
mov al, bl
call fcn.01059dea
pop edi
pop esi
pop ebx
leave
ret 0x2c
mov dword [ebp - 0x130], esi
mov eax, dword [ebp - 0x134]
push dword [eax + 0xac]
mov edx, dword [ebp - 0x130]
push dword [eax + 0xa8]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.0100f01a
push ecx
push ecx
test al, al
mov eax, esp
je 0x1040333
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [eax], ecx
push ecx
mov ecx, dword [ebp - 0x130]
mov dword [eax + 4], esi
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x154]
push eax
call fcn.0101d317
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x124]
push eax
call fcn.0100bd16
mov ecx, dword [eax]
mov dword [ebp - 0x110], ecx
mov ecx, dword [eax + 4]
push ecx
push dword [eax]
mov dword [ebp - 0x10c], ecx
lea ecx, [ebp - 0x112c]
call fcn.0101cbbf
push ecx
push ecx
mov ecx, dword [ebp - 0x108]
mov eax, esp
push dword [ebp - 0x10c]
mov dword [eax], 1
push dword [ebp - 0x110]
mov dword [eax + 4], esi
call fcn.0100f72f
inc dword [ebp - 0x130]
jmp 0x1040275
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
xor ecx, ecx
push ecx
mov dword [eax + 4], ecx
push ecx
mov ecx, dword [ebp - 0x108]
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.01023b63
test al, al
je 0x1040196
push ecx
push ecx
mov ecx, dword [ebp - 0x118]
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
push ecx
mov dword [eax + 4], ecx
push ecx
mov ecx, dword [ebp - 0x108]
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.0100f72f
mov eax, dword [ebp + 0x10]
shl eax, 4
mov dword [ebp - 0x130], eax
lea eax, [edi + eax - 1]
xor edx, edx
div edi
push ecx
push ecx
mov dword [ebp - 0x134], eax
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call fcn.0100dde3
test al, al
je 0x10404af
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
lea eax, [ebx + 0x98]
push dword [eax + 4]
push dword [eax]
call fcn.0100dde3
test al, al
je 0x10404af
mov ecx, dword [ebp - 0x108]
lea eax, [ebx + 0x98]
push dword [eax + 4]
push dword [eax]
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call fcn.0100f6be
cmp dword [ebp + 0x18], esi
je 0x104040a
mov eax, dword [ebp + 0x18]
jmp 0x1040426
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x124]
push edx
call dword [eax + 0xc]
push dword [eax + 4]
push dword [eax]
push dword [ebx + 0x20]
call fcn.01032826
xor edx, edx
div edi
mov dword [ebp - 0x10c], esi
cmp edx, esi
mov dword [ebp - 0x110], eax
je 0x1040447
add dword [ebp - 0x110], 1
adc dword [ebp - 0x10c], esi
xor edx, edx
lea eax, [edi + 0x1fff]
div edi
xor ecx, ecx
add eax, dword [ebp - 0x110]
adc ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x90]
add eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebx + 0x94]
adc ecx, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
mov ecx, dword [ebp - 0x134]
xor eax, eax
add ecx, dword [ebp - 0x11c]
adc eax, dword [ebp - 0x118]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], eax
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call fcn.0100f040
test al, al
jne 0x104050e
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
lea eax, [ebx + 0x98]
push dword [eax + 4]
push dword [eax]
call fcn.0100f040
test al, al
jne 0x104050e
push dword [ebp - 0x10c]
lea eax, [ebx + 0x98]
push dword [ebp - 0x110]
push dword [eax + 4]
push dword [eax]
call fcn.0100f01a
test al, al
je 0x10406c5
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
push dword [ebx + 0x94]
push dword [ebx + 0x90]
call fcn.0100dde3
test al, al
je 0x104059c
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
push 3
push esi
push 0x75f7
call dword [eax + 0xc]
push ecx
push ecx
mov eax, esp
push edi
push dword [ebp - 0x10c]
mov dword [eax], 0x100000
push dword [ebp - 0x110]
mov dword [eax + 4], esi
lea eax, [ebp - 0x124]
push eax
call fcn.0100bced
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, 1
sbb eax, esi
push eax
push ecx
lea eax, [ebp - 0x154]
push eax
call fcn.0100bd16
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, 1
adc eax, esi
push eax
push ecx
push 0x1001200
push dword [ebp - 0x114]
call fcn.0100cf8e
add esp, 0x10
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], esi
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x94], esi
mov eax, dword [ecx]
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call dword [eax + 8]
mov ecx, eax
xor edx, edx
mov eax, 0x80000000
div ecx
push ecx
push ecx
mov ecx, esp
mov dword [ecx + 4], esi
lea edx, [ebp - 0x124]
push edx
mov dword [ecx], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.0100f01a
test al, al
je 0x1040656
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
push ecx
mov dword [eax], ecx
mov dword [eax + 4], esi
push ecx
mov eax, esp
mov dword [eax], 3
mov dword [eax + 4], esi
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x124]
push edx
call dword [eax + 0xc]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x154]
push eax
call fcn.0100bd16
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x11c]
push eax
call fcn.0100bd16
mov ecx, dword [eax]
mov dword [ebp - 0x12c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x128], eax
jmp 0x10406c5
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], esi
xor ecx, ecx
inc ecx
push ecx
mov eax, 0x80000000
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0100bd16
mov ecx, dword [ebx + 0x20]
lea edx, [ebp - 0x154]
mov dword [ebp - 0x118], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x118]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
call fcn.0100f01a
xor edx, edx
test al, al
mov dword [ebp - 0x128], esi
mov eax, 0x40000000
jne 0x10406bd
mov eax, 0xc0000000
div edi
mov dword [ebp - 0x12c], eax
push 1
lea eax, [ebp - 0x12c]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x134]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x108]
mov dword [eax + 4], esi
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
call fcn.01023bd3
test al, al
je 0x1040196
push ecx
push ecx
mov eax, esp
push dword [ebp - 0x10c]
mov dword [eax], esi
push dword [ebp - 0x110]
mov dword [eax + 4], esi
call fcn.0100dde3
xor edx, edx
lea eax, [edi + 0x1fff]
div edi
mov ecx, dword [ebp - 0x12c]
push 0xffffffffffffffff
push 0x1001378
mov word [ebp - 0x10c], si
mov word [ebp - 0x10a], 5
sub ecx, eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x138], ecx
sbb eax, esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x134], eax
call fcn.0100d6c3
test al, al
je 0x1040196
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp + 0x10]
shr eax, 1
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x19c]
push 1
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x204]
push dword [ebp + 0xc]
push dword [ebx + 0x20]
push 0x30
call fcn.01024abf
test al, al
je 0x1040196
mov edi, dword [ebp - 0x114]
mov eax, dword [edi]
push esi
push esi
push 0x427
mov ecx, edi
call dword [eax + 0xc]
push 0x10011cc
push edi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b804
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
pop ecx
mov byte [ebp - 0xc4], al
push 0x2f
pop ecx
xor eax, eax
mov byte [ebp - 0xc3], 3
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x108]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebp - 0x124]
push edx
call dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, 1
sbb eax, 0
push eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x464]
push dword [ebp + 0xc]
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push dword [ebx + 0x20]
call fcn.01022c01
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push eax
push 0x10
lea ecx, [ebp - 0x464]
call fcn.01022cf2
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x464]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x464]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x464]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b824
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0xd34]
call fcn.01032642
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push dword [ebp + 0x18]
lea ecx, [ebp - 0xd34]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push eax
call fcn.0103319b
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xd34]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xd34]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xd34]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0xd34]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b810
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0x7e4]
call fcn.0103146b
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x7e4]
call fcn.0103148f
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x7e4]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x7e4]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x7e4]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x7e4]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b838
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x14c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and word [ebp - 0x142], 0
cmp byte [ebp + 0x20], 0
mov byte [ebp - 0x144], 1
mov byte [ebp - 0x143], 2
jne 0x1040c6c
mov word [ebp - 0x142], 4
xor esi, esi
push esi
push esi
push 0x70
push 0xc
lea eax, [ebp - 0x14c]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4b4]
push dword [ebx + 0x20]
call fcn.0101f432
test al, al
je 0x1040196
mov ecx, dword [ebp - 0x140]
cmp ecx, esi
je 0x1040cb2
push 1
push esi
push esi
push 0xffffffffffffffff
push esi
call fcn.0100d76f
mov dword [ebp - 0x118], eax
jmp 0x1040cb8
mov dword [ebp - 0x118], esi
mov al, byte [ebp - 0x284]
neg al
lea ecx, [ebp - 0x2a4]
sbb eax, eax
and eax, ecx
push eax
push ecx
push ecx
mov eax, esp
push 3
pop edi
lea ecx, [ebp - 0x5c4]
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.01027c42
test al, al
je 0x1040196
push esi
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.01027f4c
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x5c4]
push edi
call fcn.010281e8
test al, al
je 0x1040196
push esi
push 0x80
lea ecx, [ebp - 0x5c4]
call fcn.0103fe50
test al, al
je 0x1040196
cmp dword [ebp - 0x118], esi
je 0x1040d89
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 0xc]
push esi
push dword [ebp - 0x108]
add eax, eax
push eax
push dword [ebp - 0x118]
lea ecx, [ebp - 0x5c4]
push esi
push 0x60
call fcn.0102813c
test al, al
je 0x1040196
push esi
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.01021b5b
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x5c4]
call fcn.0102acf1
test al, al
je 0x1040196
push dword [ebp - 0x118]
call fcn.010131bb
mov edi, dword [ebp - 0x114]
mov eax, dword [edi]
pop ecx
push esi
push esi
push 0x427
mov ecx, edi
call dword [eax + 0xc]
push 0x10011cc
push edi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b848
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
pop ecx
mov byte [ebp - 0xc3], 3
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push 1
push eax
lea ecx, [ebp - 0xf5c]
call fcn.01037019
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xf5c]
call fcn.01037046
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xf5c]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xf5c]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xf5c]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0xf5c]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b85c
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
xor eax, eax
pop ecx
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp + 0x24]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
and eax, 0xfffffffa
add eax, 7
mov esi, eax
mov al, byte [ebp - 0x284]
neg al
lea ecx, [ebp - 0x2a4]
sbb eax, eax
and eax, ecx
push eax
push ecx
push ecx
mov eax, esp
and dword [eax + 4], 0
lea ecx, [ebp - 0x6d4]
mov dword [eax], 5
call fcn.01027c42
test al, al
je 0x1040196
push 2
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.01027f4c
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x6d4]
push esi
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x6d4]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b860
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0xc24]
call fcn.010242db
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xc24]
call fcn.010242ff
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xc24]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xc24]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xc24]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0xc24]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b870
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0xb14]
call fcn.0102d17a
test al, al
je 0x1040196
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xb14]
call fcn.0102d28a
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xb14]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xb14]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xb14]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0xb14]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b87c
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0x1074]
call fcn.01033e05
test al, al
je 0x1040196
lea eax, [ebp - 0x112c]
push eax
push dword [ebp - 0x108]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x1074]
call fcn.01033e34
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x1074]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x1074]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1074]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x1074]
call fcn.0103424c
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push 0
push 0
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b890
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
push ecx
push ecx
mov eax, esp
and dword [eax + 4], 0
lea ecx, [ebp - 0x8f4]
mov dword [eax], 9
call fcn.01027c42
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.01027f4c
test al, al
je 0x1040196
push edi
push 0x80
lea ecx, [ebp - 0x8f4]
call fcn.0103fe50
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0x8f4]
push 3
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0x8f4]
call fcn.0102acf1
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
push 5
pop eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10c]
mov esi, 0x100b8a0
push esi
mov dword [ebp - 0x100], eax
call dword [sym.imp.ntdll.dll_wcslen]
mov byte [ebp - 0xc4], al
pop ecx
xor eax, eax
push 0x2f
mov byte [ebp - 0xc3], 3
pop ecx
lea edi, [ebp - 0xc2]
rep stosd dword es:[edi], eax
movzx ecx, byte [ebp - 0xc4]
shl ecx, 1
mov eax, ecx
shr ecx, 2
lea edi, [ebp - 0xc2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp - 0x284]
and ecx, 3
neg al
rep movsb byte es:[edi], byte [esi]
sbb eax, eax
lea ecx, [ebp - 0x2a4]
and eax, ecx
push eax
lea ecx, [ebp - 0xe44]
call fcn.010244f3
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xe44]
call fcn.01024517
test al, al
je 0x1040196
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0xe44]
call fcn.010280d5
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xe44]
push 2
call fcn.010281e8
test al, al
je 0x1040196
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xe44]
call fcn.0102742b
push 1
push dword [eax + 4]
lea ecx, [ebp - 0x204]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebp - 0xc4]
lea eax, [eax + eax + 0x42]
push eax
call fcn.01026e64
test al, al
je 0x1040196
xor edi, edi
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x108]
lea ecx, [ebp - 0xe44]
call fcn.0102acf1
test al, al
je 0x1040196
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x130]
jbe 0x104180d
mov ecx, dword [ebp + 0x10]
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
mov dword [ebp - 0x118], eax
jmp 0x1041817
mov dword [ebp - 0x118], 0x10
push 0xb
pop esi
cmp dword [ebp - 0x118], esi
jbe 0x10418db
mov al, byte [ebp - 0x284]
neg al
lea ecx, [ebp - 0x2a4]
sbb eax, eax
and eax, ecx
push eax
push ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0xa04]
mov dword [eax], esi
mov dword [eax + 4], edi
call fcn.01027c42
test al, al
je 0x1040196
push edi
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xa04]
call fcn.01027f4c
test al, al
je 0x1040196
push edi
push 0x80
lea ecx, [ebp - 0xa04]
call fcn.0103fe50
test al, al
je 0x1040196
push dword [ebp - 0x108]
lea ecx, [ebp - 0xa04]
push 3
call fcn.010281e8
test al, al
je 0x1040196
cmp esi, 0x10
jb 0x10418b3
mov eax, dword [ebp - 0x9fc]
and byte [eax + 0x16], 0xfe
push edi
push edi
push dword [ebp - 0x108]
lea ecx, [ebp - 0xa04]
call fcn.0102acf1
test al, al
je 0x1040196
inc esi
cmp esi, dword [ebp - 0x118]
jb 0x1041826
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x204]
call fcn.01024bca
test al, al
je 0x1040196
push edi
push edi
push dword [ebp - 0x108]
lea ecx, [ebp - 0x6d4]
call fcn.0102acf1
test al, al
je 0x1040196
lea ecx, [ebp - 0x464]
call fcn.01023349
test al, al
je 0x1040196
mov esi, dword [ebp - 0x114]
mov eax, dword [esi]
push edi
push edi
push 0x427
mov ecx, esi
call dword [eax + 0xc]
push 0x10011cc
push esi
call fcn.0100cf8e
test al, al
pop ecx
pop ecx
je 0x1040196
mov edi, dword [ebx + 0x44]
add edi, 0x41
xor eax, eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebx + 0x44]
xor eax, eax
add edi, 0x45
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x44]
mov ecx, eax
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 [0x100b8b0]
mov eax, dword [ebx + 0x44]
mov dword [eax + 3], ecx
mov ecx, dword [0x100b8b4]
mov dword [eax + 7], ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0x20]
mov word [ebx + 0x48], ax
mov al, byte [ebp + 0xc]
xor esi, esi
mov byte [ebx + 0x4a], al
mov word [ebx + 0x4c], si
mov byte [ebx + 0x4e], 0
mov word [ebx + 0x50], si
mov word [ebx + 0x52], si
call fcn.01010469
mov byte [ebx + 0x54], al
mov eax, dword [ebp + 0x2c]
cmp eax, esi
mov word [ebx + 0x56], si
jne 0x10419fd
mov eax, dword [ebx + 0x20]
mov cx, word [eax + 0xe0]
mov word [ebx + 0x58], cx
mov cx, word [eax + 0xe4]
mov word [ebx + 0x5a], cx
mov ecx, dword [eax + 0xd8]
mov eax, dword [eax + 0xdc]
mov dword [ebp - 0x120], eax
mov dword [ebx + 0x5c], ecx
jmp 0x1041a13
mov cx, word [eax + 0x10]
mov word [ebx + 0x58], cx
mov cx, word [eax + 0x12]
mov word [ebx + 0x5a], cx
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x5c], eax
mov edi, dword [ebx + 0x44]
and dword [ebx + 0x60], 0
xor eax, eax
add edi, 0x26
stosd dword es:[edi], eax
mov edi, dword [ebx + 0x44]
add edi, 0x41
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebx + 0x44]
xor eax, eax
add edi, 0x45
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x20]
cmp dword [eax + 0xc8], 0xc
mov ecx, dword [ebx + 0x44]
setne al
dec al
lea edx, [ebp - 0x124]
push edx
and eax, 0x80
mov byte [ecx + 0x26], al
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x44]
xor edi, edi
inc edi
sub ecx, edi
mov dword [edx + 0x28], ecx
sbb eax, 0
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebx + 0x44]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x128]
mov dword [eax + 0x34], ecx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x7e4]
call fcn.01031ab9
mov edx, dword [eax]
mov ecx, dword [ebx + 0x44]
mov dword [ecx + 0x38], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
imul ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp eax, ecx
jb 0x1041ae3
div ecx
mov edx, dword [ebx + 0x44]
mov byte [edx + 0x40], al
mov eax, dword [ebp + 0x14]
cmp eax, ecx
jae 0x1041af1
xor eax, eax
mov ecx, 0x1000
shr ecx, 1
inc eax
cmp ecx, edi
ja 0x1041ad5
neg al
jmp 0x1041af5
inc edx
shr eax, 1
cmp eax, edi
ja 0x1041ae0
mov eax, dword [ebx + 0x44]
neg dl
mov byte [eax + 0x40], dl
jmp 0x1041ac7
xor edx, edx
div ecx
mov ecx, dword [ebx + 0x44]
push 0
mov byte [ecx + 0x44], al
call fcn.0101d4c7
mov ecx, dword [ebx + 0x44]
mov dword [ecx + 0x48], eax
mov eax, dword [ebx + 0x44]
push dword [eax + 0x48]
call fcn.0101d4c7
mov ecx, dword [ebx + 0x44]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebx + 0x44]
and dword [eax + 0x50], 0
mov bl, 1
jmp 0x1040198