Function at 0x45e0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47abfe
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.00472040
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x2024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x203c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x204c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x49f4e4
mov dword [esp + 0x2044], ebx
mov dword [esp + 0x34], ebp
call edx
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov edi, 1
mov ecx, 0x49f4e4
mov dword [esp + 0x2044], ebx
mov dword [esp + 0x24], edi
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x49f4e4]
mov edx, dword [eax + 0xc]
mov ecx, 0x49f4e4
mov dword [esp + 0x2044], edi
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0xb
push str.ATPROF__r_n
lea ecx, [esp + 0x24]
mov byte [esp + 0x204c], 2
mov dword [esp + 0x30], fcn.0045ca60
mov dword [esp + 0x34], fcn.0045cb80
call fcn.00402bd0
push 0x2000
lea eax, [esp + 0x3c]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx - 0xc]
mov ecx, dword [esi]
add esp, 0xc
push 0x1388
push eax
push ebx
push ecx
call fcn.00421260
mov esi, dword [esi]
push 2
lea ecx, [esp + 0x2c]
push ecx
push 0x4e20
lea edx, [esp + 0x3c]
push edx
push 0x2000
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00421310
add esp, 0x1c
test eax, eax
jne 0x45e31c
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e1f7
sub eax, edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402bd0
push str.PROF:
lea ecx, [esp + 0x1c]
call fcn.004034f0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x2044], 3
test eax, eax
je 0x45e2f4
cmp dword [edi - 0xc], 0
jl 0x45e2f4
push eax
push edi
call dword [sym.imp.MSVCR90.dll__mbsstr]
add esp, 8
test eax, eax
je 0x45e2f4
sub eax, edi
cmp eax, 0xffffffff
jle 0x45e2f4
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
add ecx, eax
push ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.0045d2b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2048], 4
call fcn.004030c0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2044], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e2af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x483cb0
push str.OK_r_n
lea ecx, [esp + 0x1c]
call fcn.0045d0b0
push 0x483cb0
push 0x48aa44
lea ecx, [esp + 0x1c]
call fcn.0045d0b0
push 0x483cb0
push 0x48aa40
lea ecx, [esp + 0x1c]
call fcn.0045d0b0
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.004080a0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2044], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e31c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2044], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x2044], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x203c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2024]
xor ecx, esp
call fcn.00471f66
add esp, 0x2034
ret 4