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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x586420]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x94]
push edi
xor edi, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], eax
cmp dword [0x598e38], edi
je 0x45a1f7
mov dword [esi + 0x1c], 0xff
push edi
push 0x1000000
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], edi
call fcn.0046204c
push edi
push 0x200000
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], edi
call fcn.0046204c
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 7
cmp dword [esi + ecx*4], edi
jne 0x45a23b
dec ecx
jns 0x45a231
jmp 0x45a250
bsr edx, dword [esi + ecx*4]
shl ecx, 5
mov eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x10], edx
lea eax, [ecx + eax + 1]
mov ecx, eax
and ecx, 0x80000003
jns 0x45a25f
dec ecx
or ecx, 0xfffffffc
inc ecx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
xor edx, edx
cmp ecx, 3
setg dl
mov dword [esp + 0x10], esi
mov eax, 2
mov dword [esp + 0x14], ecx
lea edi, [esi + edx]
lea esi, [esp + 0x48]
call fcn.00455d00
xor ecx, ecx
mov eax, 2
cmp dword [esp + 0x14], eax
lea esi, [esp + 0x60]
setg cl
add ecx, dword [esp + 0x10]
mov edi, ecx
call fcn.00455d00
xor edx, edx
cmp dword [esp + 0x14], 1
mov eax, 2
setg dl
lea esi, [esp + 0x58]
add edx, dword [esp + 0x10]
mov edi, edx
call fcn.00455d00
xor eax, eax
cmp dword [esp + 0x14], eax
lea esi, [esp + 0x50]
setg al
add eax, dword [esp + 0x10]
mov edi, eax
mov eax, 2
call fcn.00455d00
cmp dword [ebp*4 + 0x58e7ac], 0
jne 0x45a34e
push 0x80000
push ebp
call fcn.00453780
push 0x80000
push ebp
call fcn.00455510
push 0x80000
push ebp
call fcn.004550f0
push 0x80000
push ebp
call fcn.00452040
push 0x80000
push ebp
call fcn.004519b0
push 0x80000
push ebp
call fcn.00451e30
add esp, 0x30
push 0x200000
lea ecx, [ebp*4 + 0x58e180]
push ecx
mov dword [ebp*4 + 0x58e7ac], 1
call fcn.00461ff6
mov esi, dword [esp + 0xa8]
cmp esi, 0x54
jne 0x45a3ae
mov cx, word [0x58ae54]
mov edi, dword [esp + 0xa4]
movzx eax, cx
cmp eax, edi
jbe 0x45a386
push edi
push eax
push str.Warning:_Your_block_reward_vote___hu__exceeds_the_maxvote_reported_by_the_pool___hu_._n
call dword [0x52f14c]
mov cx, word [0x58ae54]
add esp, 0xc
cmp dword [0x598e5c], 0
je 0x45a3aa
movzx edx, cx
cmp edx, edi
jbe 0x45a3aa
push str.Warning:_Capping_block_reward_vote_to_maxvote_reported_by_pool._n
call dword [0x52f14c]
add esp, 4
mov word [ebx + 0x50], di
jmp 0x45a3ae
mov word [ebx + 0x50], cx
push esi
push ebx
push 0x80000
push ebp
call fcn.004537e0
push esi
push ebx
call fcn.00455550
push esi
push ebx
call fcn.00455130
push esi
push ebx
call fcn.004524a0
push esi
push ebx
call fcn.00451a10
add esp, 0x30
lea ebx, [ebx]
mov eax, dword [ebx + 0x4c]
mov esi, dword [ebp*4 + 0x58e180]
push eax
push 0x80000
push ebp
lea edi, [esi + 0x200000]
call fcn.00454090
mov ecx, dword [ebx + 0x4c]
push ecx
push 0x80000
push ebp
call fcn.004559c0
push ebp
push 1
push 0
call fcn.00459860
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp*4 + 0x58e108]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, 8
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x10], ecx
push edi
mov dword [eax + 0x14], edx
push esi
lea eax, [esp + 0x41]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0045a0e0
mov edi, dword [esp + 0x64]
mov eax, esi
sub eax, edi
sar eax, 2
add esp, 0x28
neg eax
je 0x45a686
mov edx, dword [ebx + 0x4c]
push edx
push eax
push ebp
call fcn.00455320
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp*4 + 0x58dea8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, 0x10
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x94]
push edi
push esi
lea edx, [esp + 0x43]
mov dword [eax + 0x14], ecx
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0045a0e0
mov eax, esi
sub eax, dword [esp + 0x3c]
add esp, 0x28
sar eax, 2
neg eax
je 0x45a686
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
push ebp
call fcn.00451c10
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov edi, dword [ebp*4 + 0x58c468]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], edi
mov ecx, 0x10
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x42]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0045a0e0
mov edi, dword [esp + 0x6c]
mov eax, esi
sub eax, edi
sar eax, 2
add esp, 0x28
neg eax
je 0x45a686
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
push ebp
call fcn.00452680
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp*4 + 0x58c5c8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, 0x10
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x10], ecx
push edi
mov dword [eax + 0x14], edx
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.0045a0e0
sub esi, dword [esp + 0x68]
add esp, 0x28
sar esi, 2
neg esi
mov dword [esp + 0x30], esi
je 0x45a686
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x4c]
push edx
push eax
push esi
push ebp
call fcn.00451f70
add esp, 0x10
test esi, esi
je 0x45a686
mov edx, dword [ebp*4 + 0x58e180]
mov eax, dword [esp + 0x18]
push 2
lea ecx, [esi*4]
push ecx
push edx
push eax
call fcn.00462010
xor eax, eax
mov dword [esp + 0x10], eax
test esi, esi
je 0x45a686
xor esi, esi
mov dword [esp + 0x2c], esi
nop
mov ecx, dword [esp + 0x18]
add esi, dword [esp + 0x1c]
mov edi, dword [ecx + eax*4]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x38]
cmp ecx, dword [eax + 0x1c]
ja 0x45a668
push eax
push esi
call fcn.0044e0a0
add esp, 8
test eax, eax
je 0x45a668
mov edx, dword [esp + 0xa8]
push edx
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [ebx + 0x4c], edi
call fcn.00456020
lea edx, [esp + 0x74]
add esp, 0xc
mov ecx, 0x20
mov eax, esi
sub edx, esi
jmp 0x45a640
cmp ecx, 4
jb 0x45a6eb
mov esi, dword [eax + edx]
cmp esi, dword [eax]
jne 0x45a658
sub ecx, 4
add eax, 4
jmp 0x45a640
push edi
push str.hash_for_nonce__08X_does_not_validate_on_CPU__n
push 0
call fcn.0044d640
add esp, 0xc
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
inc eax
add esi, 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], esi
cmp eax, dword [esp + 0x30]
jb 0x45a5f0
mov ecx, dword [esp + 0x9c]
add dword [ebx + 0x4c], 0x80000
cmp dword [ebx + 0x4c], ecx
jae 0x45a6ae
mov eax, dword [0x598e60]
mov edx, ebp
shl edx, 7
mov ecx, dword [edx + eax]
test ecx, ecx
je 0x45a3e0
mov ecx, dword [ebx + 0x4c]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov dword [edx], ecx
mov eax, dword [esp + 0x18]
push eax
call fcn.00462082
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00462082
mov ecx, dword [esp + 0x88]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052abef
add esp, 0x7c
ret
mov edx, dword [ebx + 0x4c]
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov esi, 1
jmp 0x45a6bf
jmp 0x45a1b0