Function at 0x423340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e558
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, ecx
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x68], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
push esi
lea eax, [esp + 0x40]
call fcn.00401cc7
lea edi, [ebx + 4]
mov ecx, eax
mov byte [esp + 0x68], 1
call fcn.00425720
fld dword [ebp + 8]
lea ecx, [esp + 0x3c]
fstp dword [eax]
mov byte [esp + 0x68], 0
call fcn.004012b8
fldz
mov eax, dword [edi + 4]
fst dword [esp + 0x18]
mov esi, dword [eax]
fstp dword [esp + 0x1c]
cmp esi, eax
je 0x4234b6
fld dword [esi + 0x28]
push ecx
fadd dword [esp + 0x1c]
mov eax, esp
lea ebx, [esi + 0xc]
mov dword [esp + 0x34], esp
fstp dword [esp + 0x1c]
call fcn.00402a24
lea eax, [esp + 0x40]
call fcn.00401f4d
push 0
push 0
lea edi, [esp + 0x44]
call fcn.004012f5
push 0xffffffffffffffff
push ebx
xor eax, eax
mov ecx, edi
call fcn.00401e6a
mov eax, 0x47ada8
call fcn.004014ea
push eax
push 0x47ada8
mov ecx, edi
push ecx
xor eax, eax
call fcn.00407b20
cmp eax, 0xffffffff
je 0x42345a
fld dword [esi + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.004012b8
cmp byte [esi + 0x2d], 0
jne 0x4234a7
mov eax, dword [esi + 8]
cmp byte [eax + 0x2d], 0
jne 0x42348c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
jne 0x4234a7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x423480
jmp 0x4234a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x4234a5
cmp esi, dword [eax + 8]
jne 0x4234a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x423495
mov esi, eax
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 8]
jne 0x4233f4
mov ebx, eax
fld dword [esp + 0x18]
mov esi, dword [esp + 0x24]
cmp dword [esi + 8], 0
fidiv dword [ebx + 0x2c]
fstp dword [esp + 0x18]
je 0x4234e7
fld dword [esp + 0x18]
mov edi, dword [esi + 8]
fmul qword [0x481b70]
mov ebx, dword [edi]
call fcn.0046bc70
mov edx, dword [ebx + 0xc]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 8], 0
jne 0x42359b
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x40]
call fcn.00401cc7
mov eax, str.jreEbz
mov byte [esp + 0x68], 2
call fcn.004014ea
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
cmp edi, eax
jb 0x423520
mov edi, eax
lea eax, [esp + 0x3c]
mov esi, str.jreEbz
call fcn.00401336
test edi, edi
je 0x423553
mov dx, word [eax]
cmp dx, word [esi]
jne 0x423545
add eax, 2
add esi, 2
dec edi
jne 0x423532
jmp 0x423553
movzx eax, word [eax]
cmp ax, word [esi]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jne 0x423568
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jb 0x423590
xor edx, edx
cmp ecx, eax
setne dl
mov eax, edx
test eax, eax
jne 0x423590
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], 0
je 0x423590
mov esi, dword [eax + 8]
fld dword [ebp + 8]
mov edi, dword [esi]
push ecx
fst dword [esp]
call fcn.0046bc70
push eax
mov eax, dword [edi]
push 0
mov ecx, esi
call eax
lea ecx, [esp + 0x3c]
call fcn.004012b8
jmp 0x4235ca
cmp dword [esi + 8], 0
je 0x4235ca
fld dword [esp + 0x1c]
mov esi, dword [esi + 8]
fmul qword [0x481b70]
mov edi, dword [esi]
push ecx
fst dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.0046bc70
mov edx, dword [edi]
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0xc