Function at 0x41d030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x18c
mov dword [ecx], 0x54f184
mov dword [ecx + 4], 0x54f1bc
mov edx, dword [esp + 0x1a0]
lea edi, [esp + 0x78]
mov byte [ecx + 8], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
lea ebp, [esp + 0x40]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
imul eax, edx, 0xea60
mov ebx, dword [esp + 0x1a4]
mov dword [ecx + 0xc], eax
mov eax, 0x64
sub eax, edx
imul eax, eax, 0xea60
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x1ac]
mov dword [ecx + 0x18], eax
lea eax, [ecx + 0x1c]
mov ecx, 0x10
mov dword [esp + 0x77], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x38], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp], ebx
lea edi, [esp + 0xb8]
call sub.msvcrt.dll_strlen
mov dword [esp], ebx
lea ebx, [esp + 0x77]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], edi
call fcn.00407380
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x20
mov dword [esp], edi
call fcn.00412f40
mov eax, dword [esp + 0x1a8]
test eax, eax
je 0x41d470
cmp dword [esp + 0x1a8], 2
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
je 0x41d3e0
mov dword [esp + 4], 0x15b3
mov dword [esp], str.miner.fee.xmrig.com
mov ecx, ebp
call fcn.004134b0
mov ecx, dword [esi + 0x20]
sub esp, 0x18
cmp ecx, dword [esi + 0x24]
je 0x41d732
test ecx, ecx
mov eax, dword [esp + 0x70]
je 0x41d21a
movzx eax, byte [esp + 0x40]
mov edx, dword [esp + 0x50]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
movzx eax, word [esp + 0x48]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 0
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], 0
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], 0
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], 0
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], 0
mov dword [ecx + 0x30], eax
xor eax, eax
add ecx, 0x34
mov dword [esi + 0x20], ecx
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41d268
mov dword [esp], eax
call fcn.0053ca50
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x41d750
lea edx, [ebx + 0x34]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1a8]
sub eax, edx
mov edi, eax
shr edi, 2
imul edi, edi, 0x4ec4ec5
and edi, 0x3fffffff
imul edi, edi, 0x34
add edi, edx
lea esi, [esi]
mov ecx, ebp
mov dword [esp], esi
mov dword [esp + 0x44], 0xffffffff
call fcn.00405f40
sub esp, 4
mov ecx, ebx
add ebx, 0x34
mov dword [esp], ebp
call fcn.00416a10
sub esp, 4
cmp edi, ebx
jne 0x41d2a0
mov esi, dword [esp + 0x2c]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
sub eax, ebx
lea edi, [esi + 4]
sar eax, 2
imul eax, eax, 0xc4ec4ec5
cmp eax, 1
jbe 0x41d430
mov dword [esp], 0x2c
call fcn.0053ca80
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov ecx, ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00417570
mov dword [esi + 0x14], ebx
sub esp, 0x14
lea ebx, [esi + 0x28]
mov dword [esi + 0x28], esi
call fcn.004572b0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00470330
pxor xmm1, xmm1
cvtsi2ss xmm1, dword [esi + 0x10]
movss dword [esp + 0x2c], xmm1
call sub.msvcrt.dll_rand
pxor xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5414f4]
addss xmm0, dword [0x5414f8]
mulss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [0x5414fc]
jae 0x41d3f0
fnstcw word [esp + 0x3e]
movss dword [esp + 0x2c], xmm0
movzx eax, word [esp + 0x3e]
fld dword [esp + 0x2c]
mov ah, 0xc
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x30]
fldcw word [esp + 0x3e]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x41c6e0
call fcn.00470950
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0x22b8
jmp 0x41d145
subss xmm0, dword [0x5414fc]
fnstcw word [esp + 0x3e]
movzx eax, word [esp + 0x3e]
mov ah, 0xc
mov word [esp + 0x3c], ax
movss dword [esp + 0x2c], xmm0
fld dword [esp + 0x2c]
fldcw word [esp + 0x3c]
fistp qword [esp + 0x30]
fldcw word [esp + 0x3e]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
lea ecx, [edx - 0x80000000]
mov edx, ecx
jmp 0x41d3b8
mov dword [esp], 0x14
call fcn.0053ca80
mov dword [esp + 0x10], 1
mov ebp, eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov ecx, eax
mov dword [esp], ebx
call fcn.004179e0
mov dword [esi + 0x14], ebp
sub esp, 0x14
jmp 0x41d328
mov ecx, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1a0a
mov dword [esp], str.miner.fee.xmrig.com
call fcn.004134b0
mov ecx, dword [esi + 0x20]
sub esp, 0x18
cmp ecx, dword [esi + 0x24]
je 0x41d780
test ecx, ecx
mov eax, dword [esp + 0x70]
je 0x41d569
movzx eax, byte [esp + 0x40]
mov edx, dword [esp + 0x50]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
movzx eax, word [esp + 0x48]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 0
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], 0
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], 0
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], 0
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], 0
mov dword [ecx + 0x30], eax
xor eax, eax
add ecx, 0x34
mov dword [esi + 0x20], ecx
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41d5b7
mov dword [esp], eax
call fcn.0053ca50
mov ecx, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x50
mov dword [esp], str.miner.fee.xmrig.com
call fcn.004134b0
mov ecx, dword [esi + 0x20]
sub esp, 0x18
cmp ecx, dword [esi + 0x24]
je 0x41d760
test ecx, ecx
mov eax, dword [esp + 0x70]
je 0x41d6b0
movzx eax, byte [esp + 0x40]
mov edx, dword [esp + 0x50]
mov byte [ecx], al
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
movzx eax, word [esp + 0x48]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 0
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], 0
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], 0
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], 0
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], 0
mov dword [ecx + 0x30], eax
xor eax, eax
add ecx, 0x34
mov dword [esi + 0x20], ecx
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x54]
test eax, eax
je 0x41d6fe
mov dword [esp], eax
call fcn.0053ca50
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.emergency
mov dword [esp + 8], str.48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
mov dword [esp + 4], 0x15b3
mov dword [esp], str.emergency.fee.xmrig.com
jmp 0x41d14c
mov dword [esp], ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 4], ebp
call fcn.00536ee0
sub esp, 8
mov eax, dword [esp + 0x70]
jmp 0x41d220
mov eax, ebx
jmp 0x41d2d3
mov dword [esp], ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 4], ebp
call fcn.00536ee0
sub esp, 8
mov eax, dword [esp + 0x70]
jmp 0x41d6b6
mov dword [esp], ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 4], ebp
call fcn.00536ee0
sub esp, 8
mov eax, dword [esp + 0x70]
jmp 0x41d56f