Function at 0x10044890
Capabilities:
Access peb ldr_data
Check os version
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x18], 0
push esi
xor ebp, ebp
mov dword [esp + 0x18], ebx
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
call fcn.10044880
mov esi, eax
mov edx, 0x5a4d
nop dword [eax + eax]
cmp word [esi], dx
jne 0x100448db
mov ecx, dword [esi + 0x3c]
lea eax, [ecx - 0x40]
cmp eax, 0x3bf
ja 0x100448db
cmp dword [ecx + esi], 0x4550
je 0x100448de
dec esi
jmp 0x100448c0
mov eax, dword fs:[0x30]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10044aa4
nop word [eax + eax]
mov esi, dword [eax + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x24]
nop dword [eax]
movzx edi, byte [esi]
ror ecx, 0xd
cmp byte [esi], 0x61
jb 0x1004491e
add ecx, 0xffffffe0
add edx, 0xffff
add ecx, edi
inc esi
test dx, dx
jne 0x10044910
cmp ecx, 0x6a4abc5b
jne 0x100449f1
mov ebx, dword [esp + 0x10]
mov ebp, 3
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x28], eax
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add edi, esi
add ebx, esi
nop dword [eax + eax]
mov edx, dword [edi]
add edx, esi
xor eax, eax
mov cl, byte [edx]
nop dword [eax + eax]
ror eax, 0xd
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x10044970
cmp eax, 0xec0e4e8e
je 0x10044996
cmp eax, 0x7c0dfcaa
je 0x10044996
cmp eax, 0x91afca54
jne 0x100449dd
mov ecx, dword [esp + 0x28]
movzx edx, word [ebx]
mov ecx, dword [ecx + 0x1c]
lea ecx, [ecx + edx*4]
cmp eax, 0xec0e4e8e
jne 0x100449b5
mov eax, dword [ecx + esi]
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x100449d7
cmp eax, 0x7c0dfcaa
jne 0x100449c7
mov eax, dword [ecx + esi]
add eax, esi
mov dword [esp + 0x18], eax
jmp 0x100449d7
cmp eax, 0x91afca54
jne 0x100449d7
mov eax, dword [ecx + esi]
add eax, esi
mov dword [esp + 0x1c], eax
add ebp, 0xffff
add edi, 4
add ebx, 2
test bp, bp
jne 0x10044960
jmp 0x10044a70
cmp ecx, 0x3cfa685d
jne 0x10044a78
mov ebx, dword [esp + 0x10]
mov ebp, 1
mov ebx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x28], eax
mov edi, dword [eax + 0x20]
mov esi, dword [eax + 0x24]
add edi, ebx
add esi, ebx
mov edx, dword [edi]
add edx, ebx
xor ecx, ecx
mov al, byte [edx]
nop dword [eax + eax]
ror ecx, 0xd
lea edx, [edx + 1]
movsx eax, al
add ecx, eax
mov al, byte [edx]
test al, al
jne 0x10044a30
cmp ecx, 0x534c0ab8
jne 0x10044a65
mov eax, dword [esp + 0x28]
movzx ecx, word [esi]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
add ebp, 0xffff
mov dword [esp + 0x24], eax
add edi, 4
add esi, 2
test bp, bp
jne 0x10044a20
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
je 0x10044a8e
test ebp, ebp
je 0x10044a8e
test ebx, ebx
je 0x10044a8e
cmp dword [esp + 0x24], 0
jne 0x10044aa0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10044900
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0x3c]
push 0x40
add edi, esi
push 0x3000
mov dword [esp + 0x24], edi
push dword [edi + 0x50]
push 0
call ebx
mov ecx, dword [edi + 0x54]
mov ebp, eax
mov dword [esp + 0x10], ebp
mov edx, esi
mov esi, ebp
test ecx, ecx
je 0x10044adf
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi], al
lea esi, [esi + 1]
sub ecx, 1
jne 0x10044ad0
movzx ebx, word [edi + 6]
movzx eax, word [edi + 0x14]
test ebx, ebx
je 0x10044b23
add eax, 0x2c
add edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi - 8]
dec ebx
mov edx, dword [edi]
add ecx, ebp
mov esi, dword [edi - 4]
add edx, eax
test esi, esi
je 0x10044b18
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
sub esi, 1
jne 0x10044b05
mov eax, dword [esp + 0x14]
add edi, 0x28
test ebx, ebx
jne 0x10044af4
mov edi, dword [esp + 0x1c]
mov ebp, dword [edi + 0x80]
mov edx, dword [esp + 0x10]
add ebp, edx
mov dword [esp + 0x14], ebp
cmp dword [ebp + 0xc], 0
je 0x10044bc3
nop dword [eax]
mov eax, dword [ebp + 0xc]
add eax, edx
push eax
call dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp]
add esi, edx
add edi, edx
cmp dword [esi], 0
je 0x10044bb2
mov ebp, edx
test edi, edi
je 0x10044b8c
mov ecx, dword [edi]
test ecx, ecx
jns 0x10044b8c
mov eax, dword [ebx + 0x3c]
movzx ecx, cx
mov eax, dword [eax + ebx + 0x78]
sub ecx, dword [eax + ebx + 0x10]
mov eax, dword [eax + ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
mov dword [esi], eax
add esi, 4
jmp 0x10044ba2
mov eax, dword [esi]
add eax, 2
add eax, ebp
push eax
push ebx
call dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
test edi, edi
je 0x10044ba5
add edi, 4
cmp dword [esi], 0
jne 0x10044b61
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add ebp, 0x14
mov dword [esp + 0x14], ebp
cmp dword [ebp + 0xc], 0
jne 0x10044b40
mov edi, dword [esp + 0x1c]
mov ebx, edx
sub ebx, dword [edi + 0x34]
cmp dword [edi + 0xa4], 0
je 0x10044c92
mov eax, dword [edi + 0xa0]
add eax, edx
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x10044c92
mov edi, dword [eax]
lea ebp, [ecx - 8]
add eax, 8
add edi, edx
shr ebp, 1
mov dword [esp + 0x20], eax
je 0x10044c72
movzx edx, word [eax]
dec ebp
mov ax, dx
mov ecx, edx
shr ax, 0xc
movzx esi, ax
cmp ax, 0xa
jne 0x10044c26
and edx, 0xfff
add dword [edx + edi], ebx
jmp 0x10044c5b
cmp esi, 3
jne 0x10044c36
and ecx, 0xfff
add dword [ecx + edi], ebx
jmp 0x10044c5b
cmp esi, 1
jne 0x10044c4c
and ecx, 0xfff
mov eax, ebx
shr eax, 0x10
add word [ecx + edi], ax
jmp 0x10044c5b
cmp esi, 2
jne 0x10044c5b
and ecx, 0xfff
add word [ecx + edi], bx
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
test ebp, ebp
jne 0x10044c05
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, dword [esi]
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
test ecx, ecx
jne 0x10044bf3
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x28]
push 0
push 0
push 0xffffffffffffffff
add esi, edx
call dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
push 0
push 1
push ebp
call esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret