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

Disassembly:
push 0xffffffffffffffff
push 0x4d942a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push ebp
mov dword [esp + 0x2c], 0
mov eax, dword [0x6cc33c]
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0x28]
push ecx
mov edi, 1
mov ecx, ebp
mov dword [esp + 0x198], edi
call fcn.004aac60
mov eax, dword [0x6e53f0]
test eax, eax
mov byte [esp + 0x190], 2
jne 0x4aaee1
mov al, byte [0x6e53ec]
test al, al
jne 0x4aaf9c
mov edx, dword [0x504ebc]
push edx
push 0
push str.kernel32
lea ecx, [esp + 0x34]
mov byte [0x6e53ec], 1
call fcn.0048b8c0
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 3
mov dword [esp + 0x20], 0
call fcn.004a41e0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov bl, 5
mov byte [esp + 0x190], bl
je 0x4aae0e
dec eax
mov dword [ecx], eax
jne 0x4aae0e
call fcn.0048a9b0
mov ecx, dword [0x504ebc]
push ecx
push 0
push str.GetLongPathNameA
lea ecx, [esp + 0x28]
call fcn.0048b8c0
lea edx, [esp + 0x23]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 6
call fcn.004a4140
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], bl
je 0x4aae60
dec eax
mov dword [ecx], eax
jne 0x4aae60
call fcn.0048a9b0
mov al, byte [esp + 0x23]
test al, al
je 0x4aaebb
mov ecx, dword [0x504ebc]
push ecx
push 0
push str.GetLongPathNameA
lea ecx, [esp + 0x28]
call fcn.0048b8c0
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 7
call fcn.004a4170
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
mov dword [0x6e53f0], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x190], bl
je 0x4aaebb
dec eax
mov dword [ecx], eax
jne 0x4aaebb
call fcn.0048a9b0
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x190], 2
je 0x4aaed4
push eax
call fcn.004a4310
add esp, 4
mov eax, dword [0x6e53f0]
test eax, eax
je 0x4aaf9c
mov ecx, dword [esp + 0x24]
push 0
push 0
push ecx
call eax
mov esi, eax
test esi, esi
jbe 0x4aaf9c
lea edx, [esp + 0x10]
push esi
mov ecx, edx
mov dword [esp + 0x30], edx
call fcn.0048b480
mov dword [esp + 0x30], eax
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x19c], 8
call dword [0x6e53f0]
test eax, eax
lea ecx, [esp + 0x10]
setne bl
mov byte [esp + 0x190], 2
call fcn.0048baf0
test bl, bl
je 0x4aaf9c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x198]
jne 0x4aaf55
mov ecx, dword [0x6cc33c]
mov dword [esi], ecx
jmp 0x4aaf67
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4aaf67
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp edx, 0xffffffff
mov dword [esp + 0x34], edi
mov byte [esp + 0x190], 1
je 0x4aaf94
lea eax, [edx - 1]
test eax, eax
mov dword [ecx], eax
jne 0x4aaf90
call fcn.0048a9b0
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
jmp 0x4ab396
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
je 0x4ab093
lea eax, [esp + 0x2c]
push 3
push eax
call fcn.004a98c0
add esp, 8
mov esi, eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.004a9a10
push esi
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x19c], 0xa
call fcn.0048c220
mov esi, eax
mov bl, 0xb
push 3
mov byte [esp + 0x1a0], bl
call fcn.00498970
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0048c2b0
add esp, 0x1c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 0xc
call fcn.0048b2d0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], bl
je 0x4ab02e
dec eax
mov dword [ecx], eax
jne 0x4ab02e
call fcn.0048a9b0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0xa
je 0x4ab04f
dec eax
mov dword [ecx], eax
jne 0x4ab04f
call fcn.0048a9b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 9
je 0x4ab070
dec eax
mov dword [ecx], eax
jne 0x4ab070
call fcn.0048a9b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 2
je 0x4ab0a3
dec eax
mov dword [ecx], eax
jne 0x4ab0a3
call fcn.0048a9b0
jmp 0x4ab0a3
mov ecx, dword [0x6cc33c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048b9e0
lea edx, [ebp + 4]
push edx
lea ecx, [esp + 0x3c]
call fcn.0048d220
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
mov byte [esp + 0x194], 0xd
call fcn.004aa8b0
push edi
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x198], 0xe
call fcn.0048bd00
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0xd
je 0x4ab0f8
dec eax
mov dword [ecx], eax
jne 0x4ab0f8
call fcn.0048a9b0
mov ecx, dword [0x6cc33c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x190], 0xf
mov dword [esp + 0x18], eax
jbe 0x4ab26b
lea esp, [esp]
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp*4]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0048c220
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0x10
call fcn.0048b2d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0xf
je 0x4ab16d
dec eax
mov dword [ecx], eax
jne 0x4ab16d
call fcn.0048a9b0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4ab259
lea eax, [esp + 0x1c]
push 3
push eax
call fcn.004a98c0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x190], 0x11
call fcn.0048ad50
mov edx, dword [esp + 0x14]
mov cl, byte [edi + edx - 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov edi, 1
cmp edx, edi
jne 0x4ab1c3
cmp byte [eax], cl
jne 0x4ab1c3
mov bl, 1
jmp 0x4ab1c5
xor bl, bl
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0xf
je 0x4ab1e6
dec eax
mov dword [ecx], eax
jne 0x4ab1e6
call fcn.0048a9b0
test bl, bl
je 0x4ab206
push 0x5c
push edi
lea ecx, [esp + 0x1c]
call fcn.0048b950
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.0048b2d0
jmp 0x4ab259
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ab28d
lea eax, [esp + 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ab224
sub eax, edx
push eax
lea ecx, [esp + 0x78]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0048ba20
mov edx, dword [esp + 0x18]
dec edx
cmp ebp, edx
jae 0x4ab252
push 0x5c
push edi
lea ecx, [esp + 0x18]
call fcn.0048b950
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jb 0x4ab120
mov edi, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x198]
jne 0x4ab32b
mov eax, dword [0x6cc33c]
mov dword [esi], eax
jmp 0x4ab339
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jae 0x4ab2f5
mov bl, 0x12
mov esi, eax
lea ebx, [ebx]
mov eax, dword [esp + 0x40]
lea eax, [eax + ebp*4]
push eax
lea ecx, [esp + 0x30]
push 0x5c
push ecx
call fcn.0048cc10
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], bl
call fcn.0048ba20
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0xf
je 0x4ab2f0
dec eax
mov dword [ecx], eax
jne 0x4ab2f0
call fcn.0048a9b0
inc ebp
cmp ebp, esi
jb 0x4ab2a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
mov esi, dword [esp + 0x198]
jne 0x4ab314
mov edx, dword [0x6cc33c]
mov dword [esi], edx
lea ecx, [eax - 0xc]
jmp 0x4ab340
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4ab326
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
jmp 0x4ab340
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4ab339
inc ecx
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov dword [esp + 0x34], edi
mov byte [esp + 0x190], 0xd
je 0x4ab35d
dec eax
mov dword [ecx], eax
jne 0x4ab35d
call fcn.0048a9b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x190], 2
call fcn.0048b750
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x190], 1
je 0x4ab38f
dec eax
mov dword [ecx], eax
jne 0x4ab38f
call fcn.0048a9b0
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x190], 0
je 0x4ab3af
dec eax
mov dword [ecx], eax
jne 0x4ab3af
call fcn.0048a9b0
mov ecx, dword [esp + 0x188]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret 4