Function at 0x58d2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74bab2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x8bb040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c8], edi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x9770a0]
cmp eax, dword [ecx + 4]
jle 0x58da4b
push 0x9770a0
call fcn.00732cc5
add esp, 4
cmp dword [0x9770a0], 0xffffffff
jne 0x58da4b
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0
push ecx
lea eax, [ebp - 0x1b8]
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.0058e950
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0xaa000000
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.0058e950
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 1
push ecx
lea eax, [ebp - 0x74]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0058e870
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, 0x9770a8
call fcn.0058dcd0
lea ecx, [ebp - 0x38]
call fcn.0058e9e0
push 0x4813a0
push 2
push 0xc
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
call fcn.00732f26
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], 0
push ecx
lea eax, [ebp - 0x1b4]
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0058e950
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
push ecx
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1c0], 0
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0058e950
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 7
push ecx
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x1c4], 0xff000000
push eax
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0058e950
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
push ecx
lea eax, [ebp - 0xbc]
push eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0058e870
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 9
push eax
push 1
mov ecx, 0x9770b8
call fcn.0058dcd0
lea ecx, [ebp - 0x74]
call fcn.0058e9e0
push 0x4813a0
push 3
push 0xc
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xc
push eax
call fcn.00732f26
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6000000
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x1000000
push eax
push ecx
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x18], 0x5a000000
call fcn.0058e950
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x6000000
push eax
push ecx
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x28], 0x5a000000
mov dword [ebp - 0x24], 0x3d000000
call fcn.0058e950
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], 0xb4000000
push eax
push ecx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x40], 0xb4000000
mov dword [ebp - 0x3c], 0xb4000000
call fcn.0058e950
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0x5a000000
push eax
push ecx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x4c], 0x3000000
mov dword [ebp - 0x48], 0x3000000
call fcn.0058e950
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], 0x3000000
push eax
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x58], 0x5a000000
mov dword [ebp - 0x54], 0x17000000
call fcn.0058e950
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0xb4000000
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], 0xb4000000
push eax
push ecx
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x60], 0xb4000000
call fcn.0058e950
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x120]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0058e870
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x13
push eax
push 2
mov ecx, 0x9770c8
call fcn.0058dcd0
lea ecx, [ebp - 0x38]
call fcn.0058e9e0
push 0x4813a0
push 6
push 0xc
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x16
push eax
call fcn.00732f26
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x19f31d00
push ecx
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xf4], 0xc00ffce
push eax
push ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xf0], 0x101200a4
mov dword [ebp - 0xec], 0x19f31d00
mov dword [ebp - 0xe8], 0xc00ffce
mov dword [ebp - 0xe4], 0x101200a4
call fcn.0058e950
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x17
push ecx
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xd4], 0x317e0f00
push eax
push ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xd0], 0x25005044
mov dword [ebp - 0xcc], 0x37070067
mov dword [ebp - 0xc8], 0x317e0f00
mov dword [ebp - 0xc4], 0x25005044
mov dword [ebp - 0xc0], 0x37070067
call fcn.0058e950
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
push ecx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x8c], 0xe00c0200
push eax
push ecx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x88], 0xf0000606
mov dword [ebp - 0x84], 0xf702000d
mov dword [ebp - 0x80], 0xe00c0200
mov dword [ebp - 0x7c], 0xf0000606
mov dword [ebp - 0x78], 0xf702000d
call fcn.0058e950
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x19
push ecx
lea eax, [ebp - 0xf8]
push eax
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.0058e870
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1a
push eax
push 1
mov ecx, 0x9770d8
call fcn.0058dcd0
lea ecx, [ebp - 0x1dc]
call fcn.0058e9e0
push 0x4813a0
push 3
push 0xc
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0x1d
push eax
call fcn.00732f26
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x4b000000
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], 0x5a000000
push eax
push ecx
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x60], 0x3c000000
call fcn.0058e950
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], 0
push eax
push ecx
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x58], 0xf000000
mov dword [ebp - 0x54], 0xf000000
call fcn.0058e950
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1f
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0xf000000
push eax
push ecx
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x1e000000
call fcn.0058e950
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x20
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], 0xff000000
push eax
push ecx
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x40], 0xff000000
mov dword [ebp - 0x3c], 0xff000000
call fcn.0058e950
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x5a000000
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x3c000000
mov dword [ebp - 0x18], 0x4b000000
push ecx
push eax
push ecx
lea ecx, [ebp - 0x180]
call fcn.0058e950
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x22
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0xf000000
push eax
push ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x28], 0xf000000
mov dword [ebp - 0x24], 0
call fcn.0058e950
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x23
push ecx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x98], 0
push eax
push ecx
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x94], 0x1e000000
mov dword [ebp - 0x90], 0xf000000
call fcn.0058e950
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x24
push ecx
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa4], 0xff000000
push eax
push ecx
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0xa0], 0xff000000
mov dword [ebp - 0x9c], 0xff000000
call fcn.0058e950
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x25
push ecx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xb0], 0x3c000000
push eax
push ecx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0xac], 0x4b000000
mov dword [ebp - 0xa8], 0x5a000000
call fcn.0058e950
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x26
push ecx
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xbc], 0xf000000
push eax
push ecx
lea ecx, [ebp - 0x144]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf000000
call fcn.0058e950
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x27
push ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], 0x1e000000
push eax
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x70], 0xf000000
mov dword [ebp - 0x6c], 0
call fcn.0058e950
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x38], 0xff000000
mov dword [ebp - 0x34], 0xff000000
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], 0xff000000
push ecx
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0058e950
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x29
push ecx
lea eax, [ebp - 0x120]
push eax
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.0058e870
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 0x2a
push eax
push 3
mov ecx, 0x9770e8
call fcn.0058dcd0
lea ecx, [ebp - 0x1e8]
call fcn.0058e9e0
push 0x4813a0
push 0xc
push 0xc
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 0x2d
push eax
call fcn.00732f26
push 0x766b80
mov dword [ebp - 4], 0xffffffff
call fcn.00732bfa
add esp, 4
push 0x9770a0
call fcn.00732c74
add esp, 4
push 0
mov ecx, edi
call fcn.0058ceb0
shl eax, 4
mov dword [ebp - 0x1c0], eax
mov edx, dword [eax + 0x9770ac]
mov ecx, dword [eax + 0x9770b0]
mov eax, 0x2aaaaaab
sub ecx, edx
mov esi, dword [edx + 4]
sub esi, dword [edx]
imul ecx
mov ecx, dword [ebp - 0x1c0]
sar edx, 1
mov eax, edx
sar esi, 2
shr eax, 0x1f
mov ecx, dword [ecx + 0x9770a8]
add eax, edx
xor edx, edx
mov dword [ebp - 0x24], esi
div ecx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1c4], eax
cmp esi, 1
jbe 0x58daaf
lea esi, [esi + esi*4]
shl esi, 5
jmp 0x58dab4
mov esi, 1
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1b4], esi
mov ecx, dword [eax + 0x4c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp - 0x1c4]
imul eax, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1b8], 0
mov edi, eax
mov dword [ebp - 0x1d0], eax
imul edi, esi
mov dword [ebp - 0x1cc], edi
test edi, edi
je 0x58db58
cmp edi, 0x3fffffff
ja 0x58dcc6
lea edx, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], edi
call fcn.004a0130
lea ecx, [edi*4]
mov dword [ebp - 0x20], eax
push ecx
push 0
lea esi, [eax + ecx]
push eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], eax
xor ecx, ecx
mov dword [ebp - 4], 0x2e
test edi, edi
je 0x58dbb8
mov edi, dword [ebp - 0x1bc]
imul edi, edx
mov dword [ebp - 0x1bc], edi
xor edx, edx
mov eax, ecx
div esi
xor edx, edx
div edi
mov eax, dword [ebp - 0x1c0]
mov esi, dword [eax + 0x9770ac]
lea edi, [edx + edx*2]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x24]
mov eax, dword [esi + edi*4]
mov esi, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1bc]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x1b8]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp - 0x1cc]
jb 0x58db74
mov edi, dword [ebp - 0x1c8]
mov ecx, dword [edi + 8]
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 0x1cc], eax
call fcn.005aa6c0
mov ecx, dword [edi + 4]
mov esi, dword [edi + 8]
mov ecx, dword [ecx + 0x10]
call fcn.0058bd80
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x28]
push dword [ebp - 0x1b4]
push eax
call fcn.005aa590
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
or edi, 0xffffffff
test esi, esi
je 0x58dc3a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x58dc3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x58dc3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x58dc5f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x58dc5f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x58dc5f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1c8]
mov edi, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push eax
mov ecx, edi
call esi
mov esi, dword [ebp - 0x1c8]
mov ecx, esi
call fcn.0058e7b0
mov al, byte [esi]
mov ecx, esi
shr al, 4
and al, 1
movzx eax, al
push eax
call fcn.0058ddc0
lea ecx, [ebp - 0x20]
call fcn.004814c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0073297b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004816c0
int3