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

Disassembly:
push 0xffffffffffffffff
push 0x5a5dcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x140]
call fcn.0047c6a0
xor ebx, ebx
lea ecx, [esi + 0x230]
mov dword [esp + 0x24], ebx
call fcn.0047c6a0
lea ecx, [esi + 0x320]
mov byte [esp + 0x24], 1
call fcn.0047c6a0
lea ecx, [esi + 0x410]
mov byte [esp + 0x24], 2
call fcn.0047c6a0
push fcn.0047c740
push fcn.0047c6a0
push 3
lea eax, [esi + 0x500]
push 0xf0
push eax
mov byte [esp + 0x38], 3
call fcn.0050bc11
push fcn.0047c740
push fcn.0047c6a0
push 3
lea ecx, [esi + 0x7d0]
push 0xf0
push ecx
mov byte [esp + 0x38], 4
call fcn.0050bc11
lea ecx, [esi + 0xad4]
mov byte [esp + 0x24], 5
call fcn.0047c6a0
lea ecx, [esi + 0xbc4]
mov byte [esp + 0x24], 6
call fcn.0047c6a0
lea ecx, [esi + 0xcf4]
mov byte [esp + 0x24], 7
call fcn.0047c6a0
lea ecx, [esi + 0xde8]
mov byte [esp + 0x24], 8
call fcn.0047c6a0
lea ecx, [esi + 0xed8]
mov byte [esp + 0x24], 9
call fcn.0047c6a0
lea ecx, [esi + 0xfc8]
mov byte [esp + 0x24], 0xa
call fcn.0047c6a0
lea ecx, [esi + 0x10b8]
mov byte [esp + 0x24], 0xb
call fcn.0047c6a0
lea ecx, [esi + 0x11ac]
mov byte [esp + 0x24], 0xc
call fcn.0047c6a0
lea ecx, [esi + 0x129c]
mov byte [esp + 0x24], 0xd
call fcn.0047c6a0
lea ecx, [esi + 0x1390]
mov byte [esp + 0x24], 0xe
call fcn.0047c6a0
mov byte [esp + 0x24], 0xf
lea ecx, [esi + 0x1484]
call fcn.0047c6a0
lea ecx, [esi + 0x1574]
mov byte [esp + 0x24], 0x10
call fcn.0047c6a0
push 1
push 0x5d5740
mov byte [esp + 0x2c], 0x11
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x55a9ce
mov ebp, dword [0x5c4264]
mov eax, dword [0x5d5744]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x10], 0x11
jbe 0x55a983
shr eax, 1
mov dword [esp + 0x14], eax
cmp edi, eax
jb 0x55a942
cmp dword [0x5d5740], ebx
jne 0x55a942
push 1
push 0x5d5740
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x55a9be
mov eax, dword [esp + 0x14]
jmp 0x55a97e
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul edx, ecx
mov dword [esp + 0x10], edx
inc edi
cmp edi, ebp
jb 0x55a91b
mov dword [0x5c4264], 0x1e
mov ebp, 6
cmp ebp, 0x1b
mov edi, ebp
jle 0x55a99e
mov edi, 0x1b
push 1
push 0x5d5740
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x55a9ce
cmp edi, 0x14
jg 0x55aa12
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
jmp 0x55a992
mov dword [0x5d5744], edi
mov dword [0x5c4264], 0x3e8
mov eax, dword [0x5d5708]
mov byte [esp + 0x24], 0x12
cmp eax, ebx
jne 0x55ab49
mov ecx, dword [0x5d5750]
mov ebp, dword [0x5d574c]
sub ecx, ebp
mov edx, 0x14
cmp ecx, 0x1e0
mov dword [esp + 0x10], edx
jb 0x55aa29
mov eax, ebp
add ebp, 0x1e0
mov dword [0x5d574c], ebp
jmp 0x55ab05
lea ecx, [edi - 0x14]
mov edx, 1
shl edx, cl
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
jmp 0x55a992
cmp ecx, 0x18
jb 0x55aa51
mov eax, 0xaaaaaaab
mul ecx
shr edx, 4
mov eax, ebp
mov dword [esp + 0x10], edx
lea ecx, [edx + edx*2]
shl ecx, 3
add ebp, ecx
mov dword [0x5d574c], ebp
jmp 0x55ab00
mov edi, dword [0x5d5748]
shr edi, 4
add edi, 7
and edi, 0xfffffff8
add edi, 0x3c0
cmp ecx, ebx
jbe 0x55aa89
add ecx, 7
shr ecx, 3
lea eax, [ecx*4 + 0x5d56fc]
mov ecx, dword [ecx*4 + 0x5d56fc]
mov dword [ebp], ecx
mov edx, dword [0x5d574c]
mov dword [eax], edx
push edi
call fcn.0050a4f5
add esp, 4
cmp eax, ebx
mov dword [0x5d574c], eax
jne 0x55aad7
mov ecx, 0x18
lea eax, [ecx + 7]
shr eax, 3
lea edx, [eax*4 + 0x5d56fc]
mov eax, dword [eax*4 + 0x5d56fc]
cmp eax, ebx
jne 0x55ab32
add ecx, 8
cmp ecx, 0x80
jbe 0x55aaa0
push edi
mov dword [0x5d5750], ebx
call fcn.00402fa0
add esp, 4
mov dword [0x5d574c], eax
mov ebp, dword [0x5d5748]
lea edx, [esp + 0x10]
add ebp, edi
add edi, eax
mov dword [0x5d5748], ebp
mov dword [0x5d5750], edi
push edx
push 0x18
call fcn.00403610
mov edx, dword [esp + 0x18]
add esp, 8
cmp edx, 1
je 0x55ab51
lea ecx, [eax + 0x18]
mov ebp, 1
mov dword [0x5d5708], ecx
mov edi, ecx
add ecx, 0x18
dec edx
cmp edx, ebp
je 0x55ab2e
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
mov edi, ecx
inc ebp
add ecx, 0x18
dec edx
cmp edx, ebp
jne 0x55ab1d
mov dword [edi], ebx
jmp 0x55ab51
mov edi, dword [eax]
mov dword [0x5d574c], eax
add eax, ecx
lea ecx, [esp + 0x10]
mov dword [edx], edi
mov dword [0x5d5750], eax
push ecx
jmp 0x55aaf2
mov ecx, dword [eax]
mov dword [0x5d5708], ecx
mov dword [0x5d5740], ebx
mov dword [esi + 0x167c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x167c]
mov dword [eax + 4], eax
lea ecx, [esi + 0xa4]
mov byte [esp + 0x24], 0x13
mov byte [esi + 0x60], 1
mov byte [esi + 0x58], 1
mov byte [esi + 0x59], 1
mov byte [esi + 0x5a], 1
mov byte [esi + 0x5b], 1
mov byte [esi + 0x5d], 1
mov byte [esi + 0x5c], bl
mov byte [esi + 0x5e], 1
mov byte [esi + 0x5f], 1
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call fcn.00477760
mov eax, 0x41400000
mov ecx, 8
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov eax, 0x41c80000
lea edi, [esi + 0x120]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, 0x43160000
mov dword [esi + 0x18], 0x41700000
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov eax, 0x3f800000
mov dword [esi + 0x1c], 0x41a00000
mov dword [esi + 0x50], eax
mov dword [esi + 0x1664], eax
mov dword [esi + 0x1668], eax
xor eax, eax
mov dword [esi + 0x34], 0x41800000
mov dword [esi + 0x28], 0x43480000
mov dword [esi + 0x44], 0x44160000
mov dword [esi + 0x40], 0x44480000
mov dword [esi + 0x54], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x43fa0000
mov dword [esi + 0x1678], ebx
mov dword [esi + 0x1674], ebx
mov dword [esi + 0x1670], ebx
mov dword [esi + 0x166c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esi + 0xcc4]
rep stosd dword es:[edi], eax
push ebx
mov ecx, esi
call fcn.0055b6c0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret