Function at 0x425440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4964
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dc104]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0x20]
xor ebx, ebx
push edx
xor edi, edi
mov dword [esp + 0x20], ebx
call fcn.00425180
add esp, 0xc
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x38]
xor ecx, ecx
lea esi, [eax + 0x10]
cmp cx, word [eax + 0xc]
jae 0x4255b5
mov ebp, dword [esp + 0x40]
inc ebp
lea esp, [esp]
cmp dword [esp + 0x40], 0
jne 0x4254bd
mov eax, dword [esp + 0x48]
jmp 0x4254ff
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x24]
push 0x4c6dd0
push edx
call fcn.00403c12
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
or ebx, 1
push edx
mov ecx, eax
mov dword [esp + 0x24], ebx
call fcn.00403bbf
add esp, 0x10
mov dword [esp + 0x30], 2
or ebx, 2
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
mov ecx, ebp
call fcn.004252a0
test al, al
mov eax, 1
sete byte [esp + 0x44]
mov dword [esp + 0x30], eax
test bl, 2
je 0x42555b
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42555b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0
test bl, 1
je 0x425594
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425594
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x44], 0
jne 0x4255db
mov ecx, dword [esp + 0x38]
movzx edx, word [ecx + 0xc]
inc edi
add esi, 8
cmp edi, edx
jb 0x4254b0
mov ebp, dword [esp + 0x1c]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x1c], 0
cmp cx, word [eax + 0xe]
jae 0x425700
mov edi, dword [esp + 0x40]
inc edi
cmp dword [esp + 0x40], 0
jne 0x42560a
mov eax, dword [esp + 0x48]
jmp 0x42564c
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42572a
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x20]
push 0x4c6dd0
push edx
call fcn.00403c12
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
or ebx, 4
push edx
mov ecx, eax
mov dword [esp + 0x24], ebx
call fcn.00403bbf
add esp, 0x10
mov dword [esp + 0x30], 7
or ebx, 8
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov edx, dword [esp + 0x44]
push eax
push esi
push ebp
mov ecx, edi
call fcn.004252a0
test al, al
mov eax, 6
sete byte [esp + 0x44]
mov dword [esp + 0x30], eax
test bl, 8
je 0x4256a4
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0
test bl, 4
je 0x4256dd
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x44], 0
jne 0x425740
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
movzx edx, word [ecx + 0xe]
inc eax
add esi, 8
mov dword [esp + 0x1c], eax
cmp eax, edx
jb 0x4255ce
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x1c
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42572a