Function at 0x40f6c0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x1bc
lea esi, [eax + 0xa0]
mov dword [esp], esi
call fcn.00460dd0
test eax, eax
jne 0x40fe0a
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], eax
lea eax, [ebx + 0x1c8]
mov dword [esp], eax
call fcn.00419220
mov dword [edi + 0x228], eax
lea eax, [ebx + 0xa4]
add dword [ebx + 0x1c8], 1
mov dword [esp], eax
mov dword [esp + 0x40], eax
call fcn.00463af0
test eax, eax
jne 0x40fe05
mov dword [esp], esi
call fcn.004603e0
test eax, eax
jne 0x40fe00
mov eax, dword [ebx + 0x204]
test al, 3
je 0x40f743
and eax, 0xfffffffc
add eax, 4
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0047a380
test eax, eax
mov esi, eax
je 0x40fcd0
mov eax, dword [ebx + 0x1fc]
lea ebp, [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x1e0]
mov dword [esp + 4], eax
call fcn.00419310
mov eax, dword [ebx + 0x1c4]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x1c0]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1fc]
add eax, esi
mov dword [esp], eax
call fcn.00419310
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x228]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c4]
add eax, esi
add eax, dword [ebx + 0x1fc]
mov dword [esp], eax
call fcn.00419310
mov eax, dword [ebx + 0x200]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x1e4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c4]
add eax, dword [ebx + 0x1fc]
add eax, dword [ebx + 0x1cc]
add eax, esi
mov dword [esp], eax
call fcn.00419310
mov ecx, dword [ebx + 0x204]
mov eax, esi
mov edx, ebp
call fcn.00401d40
mov dword [esp], esi
call fcn.0047a350
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0x20c]
test eax, eax
jle 0x40fcc3
lea eax, [esp + 0xb0]
xor esi, esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
lea esi, [esi]
mov eax, dword [ebx + 0x1e8]
mov dword [esp + 8], 0x20
mov eax, dword [eax + esi*4]
add esi, 1
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00419310
mov eax, dword [esp + 0xb0]
mov ecx, 0x40
mov edx, ebp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x38]
call fcn.00401d40
mov eax, dword [esp + 0x50]
cmp dword [ebx + 0x20c], esi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
jg 0x40f890
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
xor eax, eax
mov edx, dword [ecx + eax*4]
bswap edx
mov dword [ebp + eax*4], edx
add eax, 1
cmp eax, 8
jne 0x40f992
mov dword [esp], ebp
mov dword [esp + 4], 0x20
call fcn.00419220
mov dword [esp + 4], 1
mov ebp, eax
mov eax, dword [ebx + 0x208]
mov dword [esp], eax
call fcn.0047a380
test eax, eax
mov esi, eax
je 0x40fd7b
mov eax, dword [ebx + 0x1f0]
mov dword [esp + 0x20], str.000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
mov dword [esp + 0x1c], str.00000000
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esp + 4], str._s_s_s_s_s_s_s
mov dword [esp], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1dc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1ec]
mov dword [esp + 8], eax
call fcn.004017e0
fld qword [ebx + 0x210]
fstp qword [edi + 0x230]
mov eax, dword [ebx + 0x1d8]
mov dword [esp], eax
call fcn.00471b68
mov dword [edi + 0x224], eax
mov eax, dword [ebx + 0x1c0]
mov dword [esp], eax
call fcn.00471b68
mov dword [edi + 0x238], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esp], eax
call fcn.00471b68
mov dword [edi + 0x22c], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00462840
test eax, eax
jne 0x40fd76
call fcn.0045fb60
cmp byte [0x4a0b61], 0
je 0x40fba4
cmp byte [0x4a2d14], 0
jne 0x40faa5
cmp byte [0x4a0b60], 0
je 0x40fc80
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], str.Generated_stratum_merkle__s
mov dword [esp + 4], 0x100
mov dword [esp], eax
mov dword [esp + 0x3c], eax
call fcn.00471bd0
mov eax, dword [esp + 0x3c]
mov dword [esp], 4
mov dword [esp + 4], eax
call fcn.0042ace0
cmp byte [0x4a0b61], 0
je 0x40fba4
cmp byte [0x4a2d14], 0
jne 0x40fb03
cmp byte [0x4a0b60], 0
je 0x40fc8d
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.Generated_stratum_header__s
mov dword [esp + 4], 0x100
mov dword [esp], eax
call fcn.00471bd0
mov eax, dword [esp + 0x3c]
mov dword [esp], 4
mov dword [esp + 4], eax
call fcn.0042ace0
cmp byte [0x4a0b61], 0
je 0x40fba4
cmp byte [0x4a2d14], 0
jne 0x40fb56
cmp byte [0x4a0b60], 0
je 0x40fca6
mov eax, dword [edi + 0x22c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x228]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x224]
mov dword [esp + 8], str.Work_job_id__s_nonce2__s_ntime__s
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00471bd0
mov eax, dword [esp + 0x3c]
mov dword [esp], 4
mov dword [esp + 4], eax
call fcn.0042ace0
mov dword [esp], ebp
call fcn.0047a350
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00419310
test al, al
je 0x40fe0f
mov dword [esp], esi
call fcn.0047a350
mov eax, edi
call fcn.00401d90
lea eax, [edi + 0xa0]
fld qword [edi + 0x230]
fstp qword [esp + 4]
mov dword [esp], eax
call fcn.00404780
mov eax, dword [0x49f18c]
mov dword [edi + 0x208], ebx
mov byte [edi + 0x221], 1
mov dword [edi + 0x160], 0
mov dword [edi + 0x24c], eax
add eax, 1
mov dword [0x49f18c], eax
mov eax, dword [0x4a01f8]
mov byte [edi + 0x21c], 0
fld qword [edi + 0x230]
mov byte [edi + 0x2a8], 0x53
add dword [0x4a2d9c], 1
mov dword [edi + 0x248], eax
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
mov ah, 0xc
mov word [esp + 0x4c], ax
mov eax, edi
add edi, 0x20c
fldcw word [esp + 0x4c]
fistp dword [esp + 0x48]
fldcw word [esp + 0x4e]
mov edx, dword [esp + 0x48]
call fcn.00402970
mov dword [esp], edi
call fcn.004199a0
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [0x47f720], 3
jg 0x40faa5
cmp dword [0x47f720], 3
jle 0x40fca6
lea eax, [esp + 0xb0]
mov dword [esp + 0x3c], eax
jmp 0x40fb03
cmp dword [0x47f720], 3
jle 0x40fba4
lea eax, [esp + 0xb0]
mov dword [esp + 0x3c], eax
jmp 0x40fb56
lea eax, [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x40f98c
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], 0x6c696146
mov dword [esp + 0xb4], 0x74206465
mov dword [esp + 0xb8], 0x6163206f
mov dword [esp + 0xbc], 0x636f6c6c
mov dword [esp + 0xc0], 0x696f6320
mov dword [esp + 0xc4], 0x7361626e
mov dword [esp + 0xc8], 0x6e692065
mov dword [esp + 0xcc], 0x6e656720
mov dword [esp + 0xd0], 0x7274735f
mov dword [esp + 0xd4], 0x6d757461
mov dword [esp + 0xd8], 0x726f775f
mov word [esp + 0xdc], 0x6b
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
call fcn.0047aa32
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], 0x6c696146
mov dword [esp + 0xb4], 0x74206465
mov dword [esp + 0xb8], 0x6163206f
mov dword [esp + 0xbc], 0x636f6c6c
mov dword [esp + 0xc0], 0x61656820
mov dword [esp + 0xc4], 0x20726564
mov dword [esp + 0xc8], 0x67206e69
mov dword [esp + 0xcc], 0x735f6e65
mov dword [esp + 0xd0], 0x74617274
mov dword [esp + 0xd4], 0x775f6d75
mov dword [esp + 0xd8], 0x6b726f
jmp 0x40fd5a
call fcn.0047aa68
call fcn.0047a9fc
call fcn.0047aad4
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], 0x6c696146
mov dword [esp + 0xb4], 0x74206465
mov dword [esp + 0xb8], 0x6f63206f
mov dword [esp + 0xbc], 0x7265766e
mov dword [esp + 0xc0], 0x65682074
mov dword [esp + 0xc4], 0x72656461
mov dword [esp + 0xc8], 0x206f7420
mov dword [esp + 0xcc], 0x61746164
mov dword [esp + 0xd0], 0x206e6920
mov dword [esp + 0xd4], 0x5f6e6567
mov dword [esp + 0xd8], 0x61727473
mov dword [esp + 0xdc], 0x5f6d7574
mov dword [esp + 0xe0], 0x6b726f77
mov byte [esp + 0xe4], 0
jmp 0x40fd5a