Function at 0x442790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a3068
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [esp + 0x70]
xor edi, edi
cmp ecx, edi
je 0x4427e4
mov edx, dword [esp + 0x74]
mov eax, dword [ecx + edx + 4]
lea esi, [eax + eax*2 + 3]
lea ebp, [edx + esi*4]
mov esi, dword [esp + 0x78]
add edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
cmp ebp, edx
jb 0x44280a
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
xor edi, edi
push 1
lea esi, [ecx + ebp]
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x24], esi
call fcn.004405a0
push 4
call fcn.00451dd0
add esp, 4
cmp eax, edi
je 0x442832
lea ecx, [esp + 0x30]
mov dword [eax], ecx
jmp 0x442834
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
add ebp, 0xc
cmp byte [esi + 8], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x78], edi
jbe 0x442975
jmp 0x442862
xor edi, edi
call fcn.00459da6
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x442a7b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + ebp]
push 1
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0x74], 2
call fcn.0043fdc0
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
mov byte [esp + 0x68], 3
cmp eax, esi
je 0x442903
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4428f1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4428f1
push eax
call fcn.004015b0
mov dword [esp + 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4428e4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov edi, dword [esp + 0x1c]
add edi, 0x10
mov dword [esp + 0x74], edi
jmp 0x442903
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.00401890
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442928
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call fcn.00441e50
add edi, 0xfffffff0
add ebp, 4
mov byte [esp + 0x68], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44295a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
movzx edx, byte [ecx + 8]
inc eax
cmp eax, edx
mov dword [esp + 0x78], eax
jl 0x442860
mov esi, ecx
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 0xa]
sub eax, ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
lea ebp, [ebp + eax*4]
call fcn.00440810
mov ecx, dword [ebx + 0x2f4]
sub ecx, dword [ebx + 0x2f0]
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [ebx + 0x2f4]
sub ecx, dword [ebx + 0x2f0]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax - 1]
mov eax, 0x6bca1af3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4429d7
call fcn.00483a9b
imul esi, esi, 0x98
add esi, dword [ebx + 0x2f0]
lea ecx, [esp + 0x48]
push ecx
add esi, 0x18
push esi
lea ecx, [ebx + 0x2fc]
mov byte [esp + 0x70], 4
call fcn.004424d0
mov ecx, eax
call fcn.00440d20
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 1
call fcn.00440910
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
cmp ecx, eax
jbe 0x442a2e
call fcn.00483a9b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov edi, ecx
cmp ecx, eax
jbe 0x442a3d
call fcn.00483a9b
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
push edx
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x44]
call fcn.00440480
inc dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.00440910
cmp ebp, dword [esp + 0x24]
jb 0x442800
jmp 0x4427e4
push 0x80004005
call fcn.00401150
int3