Function at 0x40bcf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f66e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x54], 0x7f8a
mov dword [esi + 0x88], 0x4201f4
mov dword [ebp - 0x50], 0x7f00
mov dword [ebp - 0x4c], 0x7f03
mov dword [ebp - 0x48], 0x7f89
mov dword [ebp - 0x44], 0x7f8b
mov dword [ebp - 0x40], 0x7f01
mov dword [ebp - 0x3c], 0x7f81
mov dword [ebp - 0x38], 0x7f88
mov dword [ebp - 0x34], 0x7f80
mov dword [ebp - 0x30], 0x7f86
mov dword [ebp - 0x2c], 0x7f83
mov dword [ebp - 0x28], 0x7f85
mov dword [ebp - 0x24], 0x7f82
mov dword [ebp - 0x20], 0x7f84
mov dword [ebp - 0x1c], 0x7f04
mov dword [ebp - 0x18], 0x7f02
lea ebx, [ebp - 0x54]
lea edi, [esi + 0xcc]
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [0x429878]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
add ebx, 4
add edi, 4
dec eax
mov dword [ebp - 0x10], eax
jne 0x40bd9d
xor ebx, ebx
mov dword [esi], 0x4201f8
mov dword [ebp - 4], ebx
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x40bddc.2
xor edx, edx
mov dl, byte [eax + 0x40bfa0]
jmp dword [edx*4 + 0x40bf98]
mov dword [esi + 0x70], ecx
jmp 0x40bdef
mov dword [esi + 0x70], 8
mov ecx, esi
call fcn.0040c700
test al, al
jne 0x40be10
call dword [0x4298e8]
push eax
mov dword [esi + 0x10c], eax
call dword [0x429830]
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 [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [0x429838]
push ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [ebp + 0xc]
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 ecx, dword [esi + 0x44]
mov edi, dword [0x4297d8]
push ecx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x24], al
call edi
mov edx, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
push edx
call edi
push ebx
mov dword [esi + 0x80], eax
call edi
push ebx
mov dword [esi + 0x48], eax
call edi
mov ecx, dword [esi + 0x70]
lea edi, [esi + 0x5c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x28]
mov dword [edi], ebx
push 1
lea ebx, [esi + 0x60]
push eax
push ecx
mov ecx, esi
mov dword [ebx], 0
call fcn.0040c400
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040c400
mov edx, dword [esi + 0x28]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x70]
push 1
push edx
push eax
mov ecx, esi
call fcn.0040c400
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x44]
push 0
push 0
push edi
mov edi, dword [0x4297d4]
push 0
push ecx
push edx
mov dword [esi + 0x6c], eax
call edi
push 0
mov dword [esi + 0x54], eax
push 0
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
push ebx
push 0
push eax
push ecx
call edi
mov ecx, dword [esi + 0x44]
push 0
lea edx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x68]
push 0
push edx
push 0
push eax
push ecx
call edi
mov edx, dword [esi + 0x58]
mov edi, dword [0x4297e8]
mov dword [esi + 0x84], 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 [0x429834]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call fcn.00415686
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x1c], eax
xor edx, edx
add esp, 4
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc]
div dword [esi + 0x2c]
mov dword [esi + 0x20], 0
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc