Function at 0x437f60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x4a0360
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
call fcn.00401c30
mov edx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
push 0x4c9d18
push 0x4c9d14
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.004685d0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebx
jne 0x438147
mov eax, dword [0x4c9d28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
lea esi, [esp + 0x20]
call fcn.004015d0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x38], 2
mov eax, dword [0x4c9d24]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.004015d0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x38], bl
call fcn.0040a910
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0046bfab
add esp, 0x10
cmp eax, ebx
jl 0x438163
cmp eax, dword [esi - 8]
jg 0x438163
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ebx
je 0x4380e9
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [0x4c9d14]
push eax
mov eax, dword [0x4c9d18]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
push esi
call fcn.004015d0
mov edi, dword [ebp + 0xc]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x30], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4380d2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1b]
call fcn.00468830
lea edi, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00404e50
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [esp + 0x18]
mov edx, dword [0x4c9d18]
push eax
mov eax, dword [0x4c9d14]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [0x4c9d28]
mov edi, dword [0x4c9d24]
push ecx
mov ecx, esi
call fcn.0040ab70
add esp, 4
jmp 0x43809d
push 0x80070057
call fcn.00401ae0
int3