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

Disassembly:
push 0xffffffffffffffff
push 0x5a510c
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.0047bfd0
xor ebx, ebx
lea ecx, [esi + 0x230]
mov dword [esp + 0x24], ebx
call fcn.0047bfd0
lea ecx, [esi + 0x320]
mov byte [esp + 0x24], 1
call fcn.0047bfd0
lea ecx, [esi + 0x410]
mov byte [esp + 0x24], 2
call fcn.0047bfd0
push fcn.0047c070
push fcn.0047bfd0
push 3
lea eax, [esi + 0x500]
push 0xf0
push eax
mov byte [esp + 0x38], 3
call fcn.0050ac41
push fcn.0047c070
push fcn.0047bfd0
push 3
lea ecx, [esi + 0x7d0]
push 0xf0
push ecx
mov byte [esp + 0x38], 4
call fcn.0050ac41
lea ecx, [esi + 0xad4]
mov byte [esp + 0x24], 5
call fcn.0047bfd0
lea ecx, [esi + 0xbc4]
mov byte [esp + 0x24], 6
call fcn.0047bfd0
lea ecx, [esi + 0xcf4]
mov byte [esp + 0x24], 7
call fcn.0047bfd0
lea ecx, [esi + 0xde8]
mov byte [esp + 0x24], 8
call fcn.0047bfd0
lea ecx, [esi + 0xed8]
mov byte [esp + 0x24], 9
call fcn.0047bfd0
lea ecx, [esi + 0xfc8]
mov byte [esp + 0x24], 0xa
call fcn.0047bfd0
lea ecx, [esi + 0x10b8]
mov byte [esp + 0x24], 0xb
call fcn.0047bfd0
lea ecx, [esi + 0x11ac]
mov byte [esp + 0x24], 0xc
call fcn.0047bfd0
lea ecx, [esi + 0x129c]
mov byte [esp + 0x24], 0xd
call fcn.0047bfd0
lea ecx, [esi + 0x1390]
mov byte [esp + 0x24], 0xe
call fcn.0047bfd0
mov byte [esp + 0x24], 0xf
lea ecx, [esi + 0x1484]
call fcn.0047bfd0
lea ecx, [esi + 0x1574]
mov byte [esp + 0x24], 0x10
call fcn.0047bfd0
push 1
push 0x5d59e8
mov byte [esp + 0x2c], 0x11
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x559bee
mov ebp, dword [0x5c4248]
mov eax, dword [0x5d59ec]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x10], 0x11
jbe 0x559ba3
shr eax, 1
mov dword [esp + 0x14], eax
cmp edi, eax
jb 0x559b62
cmp dword [0x5d59e8], ebx
jne 0x559b62
push 1
push 0x5d59e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x559bde
mov eax, dword [esp + 0x14]
jmp 0x559b9e
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 0x559b3b
mov dword [0x5c4248], 0x1e
mov ebp, 6
cmp ebp, 0x1b
mov edi, ebp
jle 0x559bbe
mov edi, 0x1b
push 1
push 0x5d59e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x559bee
cmp edi, 0x14
jg 0x559c32
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
jmp 0x559bb2
mov dword [0x5d59ec], edi
mov dword [0x5c4248], 0x3e8
mov eax, dword [0x5d59b0]
mov byte [esp + 0x24], 0x12
cmp eax, ebx
jne 0x559d69
mov ecx, dword [0x5d59f8]
mov ebp, dword [0x5d59f4]
sub ecx, ebp
mov edx, 0x14
cmp ecx, 0x1e0
mov dword [esp + 0x10], edx
jb 0x559c49
mov eax, ebp
add ebp, 0x1e0
mov dword [0x5d59f4], ebp
jmp 0x559d25
lea ecx, [edi - 0x14]
mov edx, 1
shl edx, cl
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
jmp 0x559bb2
cmp ecx, 0x18
jb 0x559c71
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 [0x5d59f4], ebp
jmp 0x559d20
mov edi, dword [0x5d59f0]
shr edi, 4
add edi, 7
and edi, 0xfffffff8
add edi, 0x3c0
cmp ecx, ebx
jbe 0x559ca9
add ecx, 7
shr ecx, 3
lea eax, [ecx*4 + 0x5d59a4]
mov ecx, dword [ecx*4 + 0x5d59a4]
mov dword [ebp], ecx
mov edx, dword [0x5d59f4]
mov dword [eax], edx
push edi
call fcn.005095d5
add esp, 4
cmp eax, ebx
mov dword [0x5d59f4], eax
jne 0x559cf7
mov ecx, 0x18
lea eax, [ecx + 7]
shr eax, 3
lea edx, [eax*4 + 0x5d59a4]
mov eax, dword [eax*4 + 0x5d59a4]
cmp eax, ebx
jne 0x559d52
add ecx, 8
cmp ecx, 0x80
jbe 0x559cc0
push edi
mov dword [0x5d59f8], ebx
call fcn.00403070
add esp, 4
mov dword [0x5d59f4], eax
mov ebp, dword [0x5d59f0]
lea edx, [esp + 0x10]
add ebp, edi
add edi, eax
mov dword [0x5d59f0], ebp
mov dword [0x5d59f8], edi
push edx
push 0x18
call fcn.004036c0
mov edx, dword [esp + 0x18]
add esp, 8
cmp edx, 1
je 0x559d71
lea ecx, [eax + 0x18]
mov ebp, 1
mov dword [0x5d59b0], ecx
mov edi, ecx
add ecx, 0x18
dec edx
cmp edx, ebp
je 0x559d4e
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
mov edi, ecx
inc ebp
add ecx, 0x18
dec edx
cmp edx, ebp
jne 0x559d3d
mov dword [edi], ebx
jmp 0x559d71
mov edi, dword [eax]
mov dword [0x5d59f4], eax
add eax, ecx
lea ecx, [esp + 0x10]
mov dword [edx], edi
mov dword [0x5d59f8], eax
push ecx
jmp 0x559d12
mov ecx, dword [eax]
mov dword [0x5d59b0], ecx
mov dword [0x5d59e8], 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.00477200
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.0055a8e0
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