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

Disassembly:
sub esp, 0x10c
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], ebp
mov eax, dword [esp + 0x110]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
mov eax, dword [esp + 0x118]
mov dword [edx + 4], eax
mov eax, edx
add eax, 8
mov dword [esp], eax
call fcn.0044ae08
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x78], 0x45622c
lea esi, [ecx + 0x78]
mov dword [ecx + 0x80], 0xffffffff
mov byte [ecx + 0x7c], 0
mov ebx, ecx
add ebx, 0x84
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x4094ea
cmp dword [0x7184d0], 0
je 0x409476
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [esi + 0x18]
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x409594
cmp dword [0x7184d0], 0
je 0x409520
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [esi + 0x10]
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x40963e
cmp dword [0x7184d0], 0
je 0x4095ca
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esp + 4], 0x44eaac
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.0040ee32
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x94], 0x45622c
lea esi, [ebx + 0x94]
mov dword [ebx + 0x9c], 0xffffffff
mov byte [ebx + 0x98], 0
lea ebx, [ebx + 0xa0]
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x409738
cmp dword [0x7184d0], 0
je 0x4096c4
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [esi + 0x18]
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x4097e2
cmp dword [0x7184d0], 0
je 0x40976e
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [esi + 0x10]
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x40988c
cmp dword [0x7184d0], 0
je 0x409818
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov dword [esp + 4], 0x44eaac
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.0040ee32
mov edi, dword [esp + 0x2c]
mov dword [0x457010], edi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004052b8
mov dword [esp], edi
call fcn.00408300
mov dword [esp + 4], 0
mov eax, edi
add eax, 0x40
mov dword [esp], eax
call fcn.00449f98
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0xd0]
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0xd0], 0x45622c
mov dword [esp + 0xd8], 0xffffffff
mov byte [esp + 0xd4], 0
lea ebx, [esp + 0xdc]
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x4099c5
cmp dword [0x7184d0], 0
je 0x409951
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [ebp + 0x18]
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x409a6f
cmp dword [0x7184d0], 0
je 0x4099fb
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
lea ebx, [ebp + 0x10]
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x409b19
cmp dword [0x7184d0], 0
je 0x409aa5
mov dword [esp + 4], 1
mov dword [esp], 0x7184f0
call sub.msvcrt.dll_longjmp
mov dword [esp], 0x40000
call fcn.004019f2
mov ebx, eax
mov dword [esp], 0x40000
call fcn.004019f2
mov esi, eax
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x44e828
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040ee32
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_encountered
mov dword [esp + 4], esi
mov dword [esp], 0
call sub.USER32.dll_MessageBoxW
sub esp, 0x10
call fcn.0040a376
mov dword [esp], 2
call sub.msvcrt.dll_exit
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
mov dword [esp + 4], 0x44eaac
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0040ee32
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0040ee32
lea ebx, [esp + 0xd0]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4001c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x40078]
mov dword [esp + 8], eax
mov eax, dword [ecx]
movsx eax, byte [eax]
mov dword [esp + 4], eax
mov eax, dword [ecx + 4]
mov dword [esp], eax
call dword [edx + 0xc]
xor al, 1
mov byte [esp + 0x37], al
mov dword [esp + 0xd0], 0x45622c
mov dword [esp], ebx
call fcn.0044ab24
cmp byte [esp + 0xd4], 0
je 0x409c00
mov dword [esp], ebx
mov eax, dword [esp + 0xd0]
call dword [eax + 0x14]
mov dword [esp], ebx
call fcn.0040f9f6
mov byte [esp + 0xd4], 0
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x409c10
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp byte [esp + 0x37], 0
je 0x409c42
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [eax + 0x40068], 0
jmp 0x409ef3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp byte [eax], 0x74
je 0x409cd8
mov esi, ecx
add esi, 0x78
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x88], eax
je 0x409c7f
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov ebx, dword [esi + 0x10]
cmp byte [ebx], 0
je 0x409cc2
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
movsx eax, byte [eax - 1]
mov dword [esp + 4], eax
mov dword [esp], 0x44eaa8
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x409cc2
cld
mov ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
mov word [ecx + ebx - 1], 0x5c
mov dword [esp + 4], 0
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x400b8], 0
mov dword [eax + 0x400bc], 0
mov ecx, dword [eax]
movzx eax, byte [ecx]
cmp al, 0x6c
sete dl
cmp al, 0x76
sete al
or al, dl
je 0x409d1f
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp], eax
call dword [edx + 0x30]
jmp 0x409d4c
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll__filelengthi64
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [ecx + 0x14]
test al, al
je 0x409ef3
mov ebp, 0
mov eax, dword [esp + 0x2c]
add eax, 0x30
mov edi, dword [esp + 0x2c]
cmp dword [edi + 0x30], 0
jle 0x409ea1
mov dword [esp + 0x30], eax
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00449d94
cmp dword [eax], 3
jne 0x409e8f
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x407032
mov dword [esp + 8], eax
mov eax, edx
add eax, 8
mov dword [esp + 4], eax
lea ebx, [esp + 0x40]
mov dword [esp], ebx
call fcn.004027c4
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi]
movzx eax, byte [ecx]
cmp al, 0x6c
sete dl
cmp al, 0x76
sete al
or al, dl
je 0x409dd7
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [edx + 0x38]
jmp 0x409e08
mov ebx, 0
cmp dword [esp + 0xbc], 0
jle 0x409e08
lea esi, [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00407082
inc ebx
cmp dword [esp + 0xbc], ebx
jg 0x409dea
lea eax, [esp + 0xbc]
mov dword [esp], eax
call fcn.00449d78
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.0044a068
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.0044a158
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0044a068
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.0044a248
lea eax, [esp + 0x7c]
mov dword [esp], eax
call fcn.0044a338
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00449e6c
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.0044a068
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.00449e6c
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.msvcrt.dll_free
inc ebp
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x30], ebp
jg 0x409d6a
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx]
movzx eax, byte [ecx]
cmp al, 0x6c
sete dl
cmp al, 0x76
sete al
or al, dl
je 0x409ecc
mov eax, dword [ebx + 4]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [edx + 0x34]
jmp 0x409ee4
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov eax, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x2c]
add eax, 0x14
mov dword [esp], eax
call fcn.0044ab24
mov ebx, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
mov edi, dword [esp + 0x104]
mov ebp, dword [esp + 0x108]
add esp, 0x10c
ret