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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x74ad0110]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0x24], edi
movzx ecx, word [edi + 0x18]
lea ebx, [edi + 0x20]
mov word [ebx], ax
cmp ecx, 2
jbe 0x74a89c16
mov eax, dword [edi + 0x1c]
cmp word [eax + 2], 0x3a
je 0x74a89c35
test cx, cx
je 0x74a89c8a
push 0x74aa3b1c
push dword [edi + 0x1c]
call dword [0x74aa1b6c]
pop ecx
pop ecx
movzx ecx, word [edi + 0x18]
shr ecx, 1
cmp eax, ecx
je 0x74a89c8a
lea eax, [esp + 0x34]
push eax
push dword [edi + 0x24]
movzx eax, word [edi + 0x22]
shr eax, 1
push eax
push dword [edi + 0x1c]
call dword [0x74aa0d8c]
movzx ecx, word [edi + 0x22]
shr ecx, 1
cmp eax, ecx
jbe 0x74a89c61
mov edi, 0xc0000023
jmp 0x74a8a096
test eax, eax
je 0x74a89c80
add eax, eax
mov word [ebx], ax
call dword [0x74aa09fc]
add eax, 8
push eax
push ebx
call fcn.74a94350
xor ebx, ebx
mov esi, ebx
jmp 0x74a89ced
mov edi, 0xc0000001
jmp 0x74a8a096
mov esi, dword [0x74ad07e0]
test esi, esi
je 0x74a89ca9
lea eax, [edi + 0x10]
mov ecx, esi
push eax
push ebx
call dword [0x74aa1db4]
call esi
mov edi, eax
test edi, edi
jns 0x74a89cdd
call dword [0x74aa09fc]
add eax, 8
push eax
push ebx
call dword [0x74aa1bfc]
push 0x74aa3b18
push ebx
call dword [str.t49_]
mov edi, eax
test edi, edi
js 0x74a89cdd
mov eax, dword [esp + 0x24]
add eax, 0x10
push eax
push ebx
call dword [0x74aa19a4]
mov edi, eax
xor ebx, ebx
mov esi, ebx
test edi, edi
js 0x74a8a096
mov edi, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x24]
call dword [0x74aa1c00]
test al, al
je 0x74a89e0d
lea eax, [esp + 0x3c]
push eax
lea eax, [edi + 0x20]
push eax
call dword [0x74aa1bfc]
lea eax, [esp + 0x3c]
push eax
call dword [0x74aa1a5c]
call dword [0x74aa09fc]
mov ecx, dword [eax]
movzx eax, word [edi + 0x22]
add eax, 0x78
push eax
lea eax, [ecx + 0x80000]
or eax, 8
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov esi, eax
test esi, esi
jne 0x74a89d5c
mov eax, 0xc0000017
jmp 0x74a8a098
lea eax, [esi + 0x78]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov ax, word [edi + 0x22]
mov word [esi + 0xa], ax
lea eax, [edi + 0x20]
push eax
push ecx
call dword [0x74aa1bfc]
mov eax, dword [edi + 8]
mov dword [esi + 0x10], eax
mov al, byte [edi + 4]
lea edi, [esi + 8]
mov byte [esi + 0x18], al
mov eax, dword [0x74ad07dc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x74a89da1
push edi
mov ecx, eax
call dword [0x74aa1db4]
call dword [esp + 0x2c]
mov dword [esp + 0x44], 0x18
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
cmp byte [esi + 0x18], 0
je 0x74a89df0
push ebx
push ebx
push 0x60
push 3
push 7
push 0x80
push ebx
push eax
lea eax, [esp + 0x64]
push eax
push 0xc0100000
lea eax, [esi + 0x14]
push eax
call dword [0x74aa1b90]
jmp 0x74a89e09
push 0x60
push 7
push eax
lea eax, [esp + 0x50]
push eax
push 0x80100000
lea eax, [esi + 0x14]
push eax
call dword [0x74aa1a30]
mov edi, eax
jmp 0x74a89e12
mov edi, 0xc000003a
test edi, edi
js 0x74a8a03c
mov byte [esi + 0x1a], bl
or dword [esp + 0x10], 0xffffffff
or dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
movzx eax, byte [esi + 0x18]
push eax
push ebx
push dword [0x74ad01fc]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x14]
call dword [0x74aa1c04]
mov edi, eax
test edi, edi
jns 0x74a89e68
cmp edi, 0xc00000bb
jne 0x74a89e6c
mov edi, ebx
jmp 0x74a89e6c
mov byte [esi + 0x1a], 1
test edi, edi
js 0x74a8a03c
push 5
push 0x18
lea eax, [esi + 0x60]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x14]
call dword [0x74aa1a40]
lea edi, [eax + 0x7ffffffb]
neg edi
sbb edi, edi
and edi, eax
jl 0x74a8a03c
mov ecx, dword [esi + 0x68]
xor eax, eax
cmp byte [esi + 0x19], al
push 4
setne al
mov dword [esi + 0x1c], ecx
push 0x2000
lea eax, [eax*4 + 4]
add eax, ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x24], eax
add eax, 0x100000
push ecx
mov dword [ecx], eax
lea eax, [esi + 0x20]
push ebx
push eax
push 0xffffffffffffffff
call dword [0x74aa1c0c]
mov edi, eax
test edi, edi
js 0x74a8a004
push 4
push 0x1000
lea eax, [esi + 0x24]
push eax
push ebx
lea eax, [esi + 0x20]
push eax
push 0xffffffffffffffff
call dword [0x74aa1c0c]
mov edi, eax
test edi, edi
js 0x74a8a004
push 0x74ad01fc
push ebx
push dword [esi + 0x1c]
lea eax, [esp + 0x38]
push dword [esi + 0x20]
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x14]
call dword [0x74aa1c10]
mov edi, eax
test edi, edi
js 0x74a8a004
mov eax, dword [esi + 0x1c]
cmp dword [esp + 0x30], eax
je 0x74a89f36
mov edi, 0xc0000011
test edi, edi
js 0x74a8a004
or dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x28]
or dword [esi + 0x2c], 0xffffffff
push ecx
mov dword [esi + 0x30], ebx
lea ebx, [esi + 0x20]
push eax
push dword [ebx]
call dword [0x74aa1c14]
mov byte [esi + 0x19], al
test al, al
mov eax, dword [esi + 0x1c]
je 0x74a89fb8
add eax, dword [ebx]
push 0xd
pop ecx
push 0xa
mov dword [esp + 0x3c], ecx
pop edx
cmp eax, dword [ebx]
jbe 0x74a89f97
add eax, 0xfffffffe
movzx ecx, word [eax]
cmp ecx, 0x20
ja 0x74a89f94
cmp cx, word [esp + 0x38]
je 0x74a89f94
cmp cx, dx
je 0x74a89f94
add dword [esi + 0x1c], 0xfffffffe
cmp eax, dword [ebx]
ja 0x74a89f75
push 0xd
pop ecx
mov eax, dword [esi + 0x1c]
add eax, dword [ebx]
cmp eax, dword [ebx]
jbe 0x74a89ff8
cmp word [eax - 2], dx
je 0x74a89ff8
mov word [eax], cx
mov word [eax + 2], dx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2c], eax
add eax, 4
jmp 0x74a89ff2
add eax, dword [ebx]
jmp 0x74a89fd1
dec eax
mov cl, byte [eax]
cmp cl, 0x20
ja 0x74a89fd5
cmp cl, 0xd
je 0x74a89fd5
cmp cl, 0xa
je 0x74a89fd5
dec dword [esi + 0x1c]
cmp eax, dword [ebx]
ja 0x74a89fbc
mov eax, dword [esi + 0x1c]
add eax, dword [ebx]
cmp eax, dword [ebx]
jbe 0x74a89ff8
cmp byte [eax - 1], 0xa
je 0x74a89ff8
mov word [eax], 0xa0d
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2c], eax
add eax, 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 0xc], esi
jmp 0x74a8a096
cmp byte [esi + 0x1a], 0
je 0x74a8a07c
push dword [0x74ad01fc]
or dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x14]
or dword [esp + 0x18], 0xffffffff
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ebx
push eax
push dword [esi + 0x14]
call dword [0x74aa1c08]
jmp 0x74a8a07c
test esi, esi
je 0x74a8a096
cmp byte [esi + 0x1a], 0
je 0x74a8a076
push dword [0x74ad01fc]
or dword [esp + 0x14], 0xffffffff
lea eax, [esp + 0x14]
or dword [esp + 0x18], 0xffffffff
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ebx
push eax
push dword [esi + 0x14]
call dword [0x74aa1c08]
cmp dword [esi + 0x14], 0
je 0x74a8a085
push dword [esi + 0x14]
call dword [0x74aa1a34]
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov eax, edi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call 0x74aace3f
mov esp, ebp
pop ebp
ret