Function at 0x42d780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x436930
lea ebx, [esi + 8]
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push ebx
call sub.KERNEL32.dll_QueryPerformanceCounter
test eax, eax
je 0x42d981
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [0x452a20]
cmp eax, 2
mov dword [esi], ecx
jne 0x42d7fd
mov ebx, dword [0x452a2c]
mov edx, dword [0x452a28]
mov eax, edx
or eax, ebx
jne 0x42d858
jmp 0x42d9b4
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push ebx
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x42d9cd
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x452a20], ecx
jne 0x42d846
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [0x452a2c], ecx
mov dword [0x452a28], eax
mov ecx, 2
xchg dword [0x452a20], ecx
mov edx, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov eax, edx
or eax, ebx
je 0x42d9b4
push ebx
push edx
push ecx
push edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], ebx
mov edi, edx
mov dword [esi + 0x10], edx
call fcn.00437020
mov ecx, eax
mov dword [esi + 0x20], edx
mov dword [esi + 4], eax
mul edi
imul ecx, ebx
mov ebx, dword [esi + 0x20]
add edx, ecx
mov ecx, ebx
imul ecx, edi
mov edi, 0x3b9aca00
add ecx, edx
mov edx, dword [esi + 0x24]
sub edx, eax
mov eax, dword [esi]
sbb eax, ecx
imul ebx, ebx, 0x3b9aca00
imul ecx, eax, 0x3b9aca00
mov eax, edx
mul edi
mov dword [esi], eax
mov eax, dword [esi + 4]
mov edi, edx
add edi, ecx
mov ecx, 0x3b9aca00
mul ecx
add ebx, edx
mov dword [esi + 4], eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push edi
push dword [esi]
call fcn.00437020
mov edi, eax
add edi, dword [esi + 4]
adc edx, ebx
push 0
push 0x3b9aca00
push edx
push edi
call fcn.00437020
mov ebx, eax
imul eax, eax, 0xc4653600
mov ecx, 0x452a30
mov dword [esi + 0x10], edx
add eax, edi
mov dword [esi], eax
call fcn.0041f040
mov edi, dword [0x452a3c]
mov eax, dword [0x452a38]
xor edx, edx
mov dword [esi + 0x14], edi
xor edi, dword [esi + 0x10]
mov ecx, eax
mov dword [esi + 4], eax
xor ecx, ebx
or ecx, edi
mov ecx, dword [esi + 0x14]
mov edi, ebx
setne dl
cmp eax, ebx
mov eax, dword [esi + 0x10]
sbb ecx, eax
mov ecx, dword [0x452a40]
mov ebx, eax
mov eax, 0xff
cmovb edx, eax
test dl, dl
jne 0x42d93d
xor edx, edx
cmp ecx, dword [esi]
setne dl
cmovb edx, eax
cmp dl, 1
mov eax, dword [esi]
cmove edi, dword [esi + 4]
cmove ebx, dword [esi + 0x14]
cmove eax, ecx
mov ecx, 0x452a30
mov dword [esi], eax
mov dword [0x452a3c], ebx
mov dword [0x452a38], edi
mov dword [0x452a40], eax
call fcn.0041f160
mov eax, dword [esi + 0x30]
mov ecx, dword [esi]
mov edx, ebx
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x18]
mov ecx, 0x447fab
mov edx, 0x2b
push 0x448c0c
push eax
call fcn.00411a20
add esp, 8
jmp 0x42d9fe
mov ecx, str.attempt_to_divide_by_zero
mov edx, 0x19
push 0x44907c
call fcn.004104b0
add esp, 4
ud2
call sub.KERNEL32.dll_GetLastError
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x38], 1
lea eax, [esi + 0x18]
mov ecx, 0x447fab
mov edx, 0x2b
push 0x448c0c
push eax
call fcn.00411a20
add esp, 8
ud2