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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x44f008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebx + 0x40]
mov esi, eax
mov dword [ebp - 0x64], eax
mov eax, 0x4bda12f7
sub esi, dword [edi + 8]
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [0x44f7b8], 5
jbe 0x403b73
mov eax, dword [0x44f7c0]
and eax, 0x100
or eax, 0
je 0x403b73
mov eax, dword [0x44f7c8]
xor edx, edx
and eax, 0x100
cmp eax, dword [0x44f7c8]
jne 0x403b73
cmp edx, dword [0x44f7cc]
jne 0x403b73
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x50], eax
mov al, byte [0x44bc07]
mov ecx, 0x44ba71
movzx eax, word [0x44ba72]
sub ecx, str.ETW0
mov dword [ebp - 0x18], eax
or ecx, 0xb000000
mov eax, dword [0x44f7bc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], edx
movzx eax, word [eax]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push edx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], 2
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x44ba7c
push eax
push dword [0x44f7d4]
mov dword [ebp - 0x28], edx
push dword [0x44f7d0]
mov dword [ebp - 0x24], 0xe
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp ebx, eax
je 0x403b92
push eax
push ebx
push dword [edi + 0x74]
push str.Warning:_thread__u_transferred__u_bytes_instead_of__u_bytes_n
call fcn.00402e20
add esp, 0x10
mov eax, dword [edi + 0x7c]
cmp byte [eax], 0
je 0x403d2e
mov eax, dword [edi + 4]
imul esi, esi, 0xd8
mov dl, byte [eax + 0x35]
mov cl, byte [eax + 0x36]
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x5e], cl
mov byte [ebp - 0x5d], dl
mov ebx, dword [eax + 0x48]
mov dword [ebp - 0x64], ebx
mov ebx, dword [eax + 0x4c]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x80]
mov dword [ebp - 0x70], ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp + 8]
add esi, dword [eax]
test dl, dl
jne 0x403bf0
test cl, cl
je 0x403cf9
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
sbb ecx, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x40], ecx
fild qword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
fild qword [ebp - 0x44]
fchs
faddp st(1)
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
mov eax, dword [0x450530]
mov ecx, dword [0x450534]
mov dword [ebp - 0x44], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
cmp byte [ebp - 0x5d], 0
mov dword [ebp - 0x40], ecx
fild qword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
fild qword [ebp - 0x44]
fchs
faddp st(1)
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fdiv qword [0x44b3f8]
fdivp st(1)
fst qword [ebp - 0x74]
je 0x403cae
cmp dword [ebp - 0x68], 1
lea eax, [ebp - 0x40]
fstp dword [ebp - 0x64]
fld dword [ebp - 0x64]
fstp dword [ebp - 0x40]
push eax
jne 0x403c9e
lea ecx, [esi + 0x54]
call fcn.0040ba10
inc dword [eax]
inc dword [esi + 0x50]
jmp 0x403cab
lea ecx, [esi + 0x78]
call fcn.0040ba10
inc dword [eax]
inc dword [esi + 0x74]
fld qword [ebp - 0x74]
cmp byte [ebp - 0x5e], 0
je 0x403cf7
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x48]
sbb ecx, dword [ebp - 0x7c]
sub esp, 8
cmp dword [ebp - 0x68], 1
fstp qword [esp]
push ecx
push eax
jne 0x403cea
lea ecx, [esi + 0x98]
call fcn.0041d8d0
add dword [esi + 0x30], ebx
adc dword [esi + 0x34], 0
add dword [esi + 0x38], 1
adc dword [esi + 0x3c], 0
jmp 0x403d1f
lea ecx, [esi + 0xb8]
call fcn.0041d8d0
jmp 0x403cf9
fstp st(0)
cmp dword [ebp - 0x68], 1
jne 0x403d10
add dword [esi + 0x30], ebx
adc dword [esi + 0x34], 0
add dword [esi + 0x38], 1
adc dword [esi + 0x3c], 0
jmp 0x403d1f
add dword [esi + 0x40], ebx
adc dword [esi + 0x44], 0
add dword [esi + 0x48], 1
adc dword [esi + 0x4c], 0
add dword [esi + 0x20], ebx
adc dword [esi + 0x24], 0
add dword [esi + 0x28], 1
adc dword [esi + 0x2c], 0
mov ecx, dword [edi]
cmp dword [ecx + 0x10], 0
je 0x403d58
inc dword [edi + 0x88]
xor edx, edx
mov eax, dword [edi + 0x88]
div dword [ecx + 0x10]
test edx, edx
jne 0x403d58
push 0x442608
call fcn.00402de0
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423c89
mov esp, ebp
pop ebp
ret