Function at 0x10010000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002327e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x88], 0x1001bb5c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0xcc]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [fcn.1001ba74]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x100100bb
xor ebp, ebp
push 0x10019758
mov dword [esp + 0x60], ebp
mov dword [esi], 0x1001bb60
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x64]
mov dword [0x10023fa0], eax
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x10010104.2
xor edx, edx
mov dl, byte [eax + 0x100102f8]
jmp dword [edx*4 + 0x100102f0]
mov dword [esi + 0x70], ecx
jmp 0x10010117
mov dword [esi + 0x70], 8
mov ecx, esi
call fcn.10010b20
test al, al
jne 0x10010138
call dword [fcn.1001ba30]
push eax
mov dword [esi + 0x10c], eax
call dword [fcn.1001ba34]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [0x1001ba3c]
push ebp
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [esp + 0x6c]
mov byte [esi + 0xc], al
call edi
push 1
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, 0x20
cdq
idiv dword [esi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], ebp
push 0x10019744
mov byte [esi + 0x24], al
mov ecx, dword [0x10023fa0]
push ecx
call ebx
mov edx, dword [esi + 0x44]
mov edi, eax
push edx
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x44]
push eax
call edi
push ebp
mov dword [esi + 0x80], eax
call edi
push ebp
mov dword [esi + 0x48], eax
call edi
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x70]
lea ebp, [esi + 0x5c]
push 1
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [ebp], 0
mov dword [esi + 0x60], 0
call fcn.10010790
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10010790
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x28]
push 1
push eax
push ecx
mov ecx, esi
call fcn.10010790
mov dword [esi + 0x6c], eax
mov edx, dword [0x10023fa0]
push 0x10019730
push edx
call ebx
push 0
push 0
push ebp
mov edi, eax
push 0
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x44]
push eax
push ecx
call edi
mov edx, dword [esi + 0x68]
mov dword [esi + 0x54], eax
push 0
lea eax, [esi + 0x60]
push 0
push eax
mov eax, dword [esi + 0x44]
push 0
push edx
push eax
call edi
mov edx, dword [esi + 0x68]
push 0
lea ecx, [esi + 0x78]
push 0
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x44]
push ecx
push 0
push edx
push eax
call edi
mov dword [esi + 0x84], eax
mov ecx, dword [0x10023fa0]
push 0x10019720
push ecx
call ebx
mov edx, dword [esi + 0x58]
mov edi, eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call edi
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
push ecx
push edx
call edi
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push eax
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push edx
push eax
push 0
lea ecx, [esi + 0x34]
push 0
push ecx
call dword [0x1001ba38]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x1c], eax
xor edx, edx
add esp, 4
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x54]
div dword [esi + 0x2c]
mov dword [esi + 0x20], 0
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
test ah, dl
add byte [eax], al
add byte [ebp - 0x7c9900bb], cl
mov esp, 0xb3442
add byte [eax], al
aam 0
add byte [eax], al
lea eax, [ebp - 1]
cmp word [edx + eax*2 + 0xb34], 0
lea ecx, [edx + eax*2 + 0xb34]
jne 0x10020414
sub ecx, 2
dec eax
cmp word [ecx], 0
je 0x1002040a
dec word [edx + eax*2 + 0xb34]
add word [edx + eax*2 + 0xb36], 2
dec word [edx + ebp*2 + 0xb34]
sub edi, 2
test edi, edi
jg 0x100203f5
test ebp, ebp
mov edi, ebp
je 0x100204c9
lea ebp, [edx + ebp*2 + 0xb34]
mov dword [esp + 0x18], ebp
xor eax, eax
mov ax, word [ebp]
test eax, eax
mov dword [esp + 0x30], eax
je 0x100204b9
lea ebp, [edx + esi*4 + 0xb54]
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp - 4]
dec esi
sub ebp, 4
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x1c]
cmp ecx, esi
mov dword [esp + 0x28], ebp
jg 0x100204b1
lea esi, [ebx + ecx*4 + 2]
xor eax, eax
mov ax, word [esi]
cmp eax, edi
je 0x100204a8
mov ebp, edi
sub ebp, eax
xor eax, eax
mov ax, word [ebx + ecx*4]
imul ebp, eax
mov eax, dword [edx + 0x16a0]
add eax, ebp
mov ebp, dword [esp + 0x28]
mov dword [edx + 0x16a0], eax
mov word [esi], di
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1002045e
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
dec edi
sub ebp, 2
test edi, edi
mov dword [esp + 0x18], ebp
jne 0x10020449
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret