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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x2f0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [esp + 0x74], eax
lea eax, [esp + 0x44]
mov edi, ecx
mov esi, edx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], esi
call fcn.00407441
mov esi, dword [esi + 4]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x70], esi
jle 0x44736c
lea eax, [esp + 0x44]
push eax
mov eax, edi
call fcn.00447281
cmp eax, ebx
je 0x44736c
mov esi, eax
lea ecx, [esp + 0x44]
call fcn.004071b8
mov eax, esi
jmp 0x447a94
lea eax, [esp + 0x34]
push eax
call fcn.00407441
lea eax, [esp + 0x30]
push eax
call fcn.00407441
cmp byte [ebp + 0x10], bl
jne 0x4473e8
lea eax, [esp + 0x2c]
lea esi, [edi + 0x50]
push eax
call fcn.0043e9d0
pop ecx
lea edi, [esp + 0x34]
call fcn.00406165
lea ecx, [esp + 0x2c]
call fcn.004071b8
mov eax, edi
call fcn.0043e5d0
mov eax, dword [esp + 0x20]
add eax, 0x58
lea edi, [esp + 0x30]
call fcn.00406165
mov eax, edi
call fcn.0043e5d0
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x2c]
call fcn.00447aab
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0042e514
mov ecx, esi
call fcn.004071b8
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00407441
cmp dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], ebx
jle 0x4477d3
push 0x258
call fcn.00476f9f
mov esi, eax
pop ecx
cmp esi, ebx
je 0x44748c
or dword [esi], 0xffffffff
mov byte [esi + 8], 1
xor eax, eax
mov word [esi + 0x28], ax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
lea eax, [esi + 0x240]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [esi + 0x250]
push eax
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
call fcn.00407441
mov dword [esp + 0x1c], esi
jmp 0x447490
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jne 0x4474e8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
cmp edx, ecx
jb 0x4474b5
lea edx, [ecx + eax*4]
lea esi, [esp + 0x1c]
cmp esi, edx
jb 0x4478d4
cmp eax, ebx
jne 0x4474be
xor esi, esi
inc esi
jmp 0x4474d0
mov esi, dword [esp + 0x14]
add esi, esi
cmp esi, ebx
jl 0x447501
cmp esi, 0x1fffffff
ja 0x447501
push 4
push esi
push ecx
call fcn.004772db
add esp, 0xc
cmp eax, ebx
je 0x447501
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
cmp eax, ebx
je 0x4474fd
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
inc dword [esp + 0x14]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00447d3b
cmp dword [0x4c22f4], ebx
mov esi, dword [eax]
lea eax, [esi + 0x10]
mov dword [esp + 0x68], eax
mov al, byte [ebp + 0x10]
mov dword [esp + 0x38], esi
mov byte [esi + 8], al
jg 0x44753a
lea eax, [esp + 0x44]
call fcn.00455dc7
cmp al, bl
je 0x4478de
lea eax, [esp + 0x24]
push eax
call fcn.00407441
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00447d3b
mov eax, dword [eax]
cmp byte [ebp + 0x10], bl
je 0x447617
mov ecx, dword [esp + 0x40]
mov dword [esi], eax
mov eax, dword [esp + 0x28]
call fcn.00447d3b
mov eax, dword [eax]
lea ecx, [edi + 0x60]
call fcn.00447c85
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], eax
add eax, 0x18
mov dword [esp + 0x1c], ecx
push eax
lea eax, [edi + 0x58]
lea ecx, [esp + 0x70]
call fcn.00447b81
cmp dword [esp + 0x20], 9
pop ecx
je 0x4475a4
cmp dword [esp + 0x1c], 0xa
jne 0x4475b3
lea edi, [esi + 0x250]
lea eax, [esp + 0x6c]
call fcn.00406165
lea eax, [esp + 0x78]
push eax
lea esi, [esp + 0x70]
call fcn.0043e9d0
pop ecx
lea edi, [esp + 0x24]
call fcn.00406165
lea ecx, [esp + 0x78]
call fcn.004071b8
mov esi, dword [esp + 0x20]
mov eax, edi
mov edi, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x30]
push ebx
push dword [eax + 0xc]
push ebx
push dword [eax + 0x10]
lea eax, [esi + 0x50]
call fcn.00455e43
mov edi, eax
lea eax, [esi + 0x9c]
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.0043ff30
pop ecx
pop ecx
lea ecx, [esp + 0x6c]
call fcn.004071b8
jmp 0x44776f
lea ecx, [edi + 0x84]
mov dword [esp + 0x2c], ecx
call fcn.00447d1a
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
cmp eax, 9
je 0x447637
cmp eax, 0xa
jne 0x447675
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00447d3b
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
call fcn.00447d1a
push eax
lea eax, [edi + 0x58]
lea ecx, [esp + 0x40]
call fcn.00447b81
pop ecx
lea edi, [esi + 0x250]
call fcn.00406165
lea ecx, [esp + 0x3c]
call fcn.004071b8
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
call fcn.00447d3b
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
call fcn.00447d1a
push eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x68]
call fcn.00447b81
mov dword [esp], 0x24c
lea eax, [esp + 0xb0]
push ebx
push eax
mov dword [esp + 0xb4], ebx
call fcn.004773f0
add esp, 0xc
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 1
push ebx
push ebx
push dword [esp + 0xd0]
mov dword [esp + 0xa8], eax
call fcn.0047d8c0
mov esi, eax
mov eax, dword [esp + 0xc8]
xor ecx, ecx
add esi, eax
adc edx, ecx
cmp dword [esp + 0x1c], 6
mov dword [esp + 0xa4], edx
je 0x447707
cmp dword [esp + 0x1c], 7
jne 0x44770d
lea eax, [esp + 0x30]
jmp 0x447710
lea eax, [edi + 0x58]
lea edi, [esp + 0x24]
call fcn.00406165
mov eax, edi
mov edi, dword [esp + 0x68]
push eax
push dword [esp + 0xa8]
lea eax, [esp + 0x6c]
push esi
push ebx
push ebx
call fcn.00455e43
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 0x9c
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.0043ff30
pop ecx
pop ecx
cmp dword [esp + 0x98], ebx
je 0x447762
push dword [esp + 0x98]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x64]
call fcn.004071b8
mov esi, dword [esp + 0x20]
cmp edi, ebx
jne 0x44797a
cmp byte [esi + 0x7c], bl
je 0x447792
cmp dword [esp + 0x1c], 6
jne 0x447792
lea ebx, [esp + 0x24]
lea esi, [esp + 0x48]
call fcn.0043d540
xor ebx, ebx
mov eax, dword [esp + 0x74]
cmp dword [eax], ebx
je 0x4477b4
push dword [esp + 0x68]
call dword [0x4c22fc]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x248], eax
mov dword [ecx + 0x24c], edx
lea ecx, [esp + 0x24]
call fcn.004071b8
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
jl 0x447424
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x84], eax
mov eax, esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.00456694
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x4479c8
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x90], ebx
je 0x44783b
push dword [esp + 0x90]
call esi
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
je 0x44784b
push dword [esp + 0x5c]
call esi
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.004071b8
lea esi, [esp + 0x48]
call fcn.00432cf4
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x44789d
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00447d3b
mov esi, dword [eax]
cmp esi, ebx
je 0x447896
lea ecx, [esi + 0x250]
call fcn.004071b8
lea eax, [esi + 0x10]
call fcn.00455d61
push esi
call fcn.00476b40
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x44786b
cmp dword [esp + 0x10], ebx
je 0x4478b1
push dword [esp + 0x10]
call fcn.00477356
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004071b8
lea ecx, [esp + 0x34]
call fcn.004071b8
mov esi, dword [esp + 0x3c]
jmp 0x44735c
push 0x80004005
call fcn.00407bce
cmp dword [esp + 0x5c], ebx
je 0x4478f2
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.004071b8
lea esi, [esp + 0x48]
call fcn.00432cf4
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x447944
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00447d3b
mov esi, dword [eax]
cmp esi, ebx
je 0x44793d
lea ecx, [esi + 0x250]
call fcn.004071b8
lea eax, [esi + 0x10]
call fcn.00455d61
push esi
call fcn.00476b40
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x447912
cmp dword [esp + 0x10], ebx
je 0x447958
push dword [esp + 0x10]
call fcn.00477356
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004071b8
lea ecx, [esp + 0x34]
call fcn.004071b8
push 0xb
pop esi
jmp 0x44735c
lea ecx, [esp + 0x24]
call fcn.004071b8
cmp dword [esp + 0x5c], ebx
je 0x447997
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.004071b8
lea esi, [esp + 0x48]
call fcn.00432cf4
lea esi, [esp + 0x10]
call fcn.00447d5c
lea ecx, [esp + 0x30]
call fcn.004071b8
lea ecx, [esp + 0x34]
call fcn.004071b8
push 0xd
jmp 0x447974
mov eax, dword [esi + 8]
lea ecx, [esp + 0x48]
call fcn.00455eec
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x90], ebx
je 0x4479f7
push dword [esp + 0x90]
call esi
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
je 0x447a07
push dword [esp + 0x5c]
call esi
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x54]
call fcn.004071b8
lea esi, [esp + 0x48]
call fcn.00432cf4
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], eax
jle 0x447a59
mov eax, edi
lea ecx, [esp + 0x10]
call fcn.00447d3b
mov esi, dword [eax]
cmp esi, ebx
je 0x447a52
lea ecx, [esi + 0x250]
call fcn.004071b8
lea eax, [esi + 0x10]
call fcn.00455d61
push esi
call fcn.00476b40
pop ecx
inc edi
cmp edi, dword [esp + 0x38]
jl 0x447a27
cmp dword [esp + 0x10], ebx
je 0x447a6d
push dword [esp + 0x10]
call fcn.00477356
pop ecx
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004071b8
lea ecx, [esp + 0x34]
call fcn.004071b8
lea ecx, [esp + 0x44]
call fcn.004071b8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00476b4b
mov esp, ebp
pop ebp
ret 0xc