Function at 0x483d40
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bfd28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [edi + 0x10], 0
je 0x48404c
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x48404c
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
call edx
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call edx
xor esi, esi
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x483e0b
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push esi
push eax
call edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00406c20
mov dword [esp + 0x38], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
push eax
call edx
add ebx, eax
mov dword [esp + 0x38], 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 0x483dfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x483da2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
xor ecx, ecx
mov dword [edi + 0x24], ecx
mov dword [esp + 0x18], ecx
cmp eax, ecx
jbe 0x484012
lea esp, [esp]
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.00406c20
mov dword [esp + 0x38], 1
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
push eax
call edx
mov ebx, eax
xor esi, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], esi
test ebx, ebx
jbe 0x483f80
mov byte [esp + 0x38], 2
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
je 0x483f5e
mov esi, dword [esp + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov dword [esp + 0x28], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x483ec9
cmp eax, dword [esi]
jne 0x483ec9
mov ebx, esi
mov esi, 1
mov edx, esi
lock xadd dword [ecx], edx
jmp 0x483f09
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x48403a
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00588799
add esp, 0x10
mov esi, 1
mov ecx, dword [esp + 0x28]
add ebx, 0x10
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
call fcn.00485d00
add dword [edi + 0x24], esi
test byte [0x623fb8], 1
jne 0x483f3e
or dword [0x623fb8], esi
mov dword [0x623fbc], 0
jmp 0x483f46
cmp dword [0x623fbc], esi
je 0x483f56
mov eax, 0xa
cmp dword [edi + 0x24], eax
jb 0x483f56
cmp dword [esp + 0x20], eax
ja 0x483fbd
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x483f73
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
inc esi
mov dword [esp + 0x14], esi
cmp esi, ebx
jb 0x483e68
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x483e20
jmp 0x484012
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, 0x5caac0
or esi, 0xffffffff
call fcn.00406c20
push edi
mov ecx, esi
xor edx, edx
call fcn.00485d00
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x483ff1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x484012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi + 0x28], 0
jne 0x48403f
cmp dword [edi + 0x24], 0
jne 0x48403f
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040eba0
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x88]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret