Function at 0x435d80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x459dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x476028]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476028]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50c]
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x5c]
push ebx
push eax
mov dword [esp + 0x60], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, str.skin_.
lea ecx, [esp + 0x34]
call fcn.00419db0
mov eax, dword [eax]
cmp eax, ebx
je 0x435df3
mov eax, dword [eax]
jmp 0x435df5
xor eax, eax
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x14], edi
je 0x435e4d
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x435e49
cmp esi, ebx
je 0x435e49
mov eax, dword [esi]
cmp eax, ebx
je 0x435e30
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x435e40
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], 0x9c40
cmp edi, 0xffffffff
je 0x436026
cmp word [esp + 0x80], 0x2e
je 0x43600b
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push ebx
push 0x4617b8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50c], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
test eax, eax
jge 0x435ff6
mov eax, dword [esp + 0x54]
and eax, 0x10
cmp al, 0x10
jne 0x435ff6
push 0x24c
lea ecx, [esp + 0x2ac]
push ebx
push ecx
mov dword [esp + 0x2b0], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.skin_
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push eax
lea edx, [esp + 0x34]
push edx
lea edi, [esp + 0x88]
mov byte [esp + 0x50c], 1
call fcn.004195e0
push eax
lea eax, [esp + 0x28]
push eax
mov edi, str._resouce.xml
mov byte [esp + 0x514], 2
call fcn.004195e0
add esp, 0x10
mov byte [esp + 0x504], 3
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
call fcn.00419db0
mov eax, dword [eax]
cmp eax, ebx
je 0x435f2b
mov eax, dword [eax]
jmp 0x435f2d
xor eax, eax
lea ecx, [esp + 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [esp + 0x2c]
cmp edi, 0xffffffff
setne byte [esp + 0x23]
cmp eax, ebx
je 0x435f8c
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x435f88
cmp esi, ebx
je 0x435f88
mov eax, dword [esi]
cmp eax, ebx
je 0x435f6f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x435f7f
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x28]
mov byte [esp + 0x504], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [esp + 0x23], 0
je 0x435ff2
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x80]
push edx
push ecx
lea edx, [ebp + 0x25bc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.00439520
add esp, 4
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
add esi, 1
push edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x504], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435e55
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0041a000
cmp dword [eax + 0x48], ebx
je 0x436101
cmp dword [0x47796c], ebx
jne 0x436101
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR80.dll_srand]
mov esi, dword [ebp + 0x25c4]
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
xor edx, edx
div esi
lea esi, [edx + 0x9c40]
mov dword [esp + 0x28], esi
call fcn.0041a000
add eax, 0x664
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov ebx, eax
lea edi, [ebp + 0x25bc]
lea ecx, [esp + 0x28]
mov edx, edi
mov dword [esp + 0x504], 4
call fcn.00439520
mov eax, dword [eax]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [esp + 0x30]
setne bl
mov dword [esp + 0x504], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x4360ff
lea ecx, [esp + 0x28]
mov edx, edi
mov dword [esp + 0x28], esi
call fcn.00439520
mov esi, dword [eax]
call fcn.0041a000
lea ecx, [eax + 0x664]
movzx eax, word [esi]
mov word [ecx], ax
add esi, 2
add ecx, 2
test ax, ax
jne 0x4360e2
call fcn.0041a000
mov ecx, eax
call fcn.0041a480
xor ebx, ebx
push 0x45c8e4
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov esi, eax
mov dword [esp + 0x504], 5
call fcn.0041a000
lea ecx, [esp + 0x28]
push esi
lea edi, [eax + 0x664]
push ecx
call fcn.004195e0
add esp, 8
mov byte [esp + 0x504], 6
mov edx, dword [eax]
lea ecx, [esp + 0x24]
call fcn.00419db0
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
mov byte [esp + 0x504], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x436171
mov eax, dword [eax]
jmp 0x436173
xor eax, eax
push eax
call section..text
add esp, 4
cmp eax, 2
je 0x4362c5
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x508], 0xa
call fcn.00401210
add esp, 4
push 0x45c8e4
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x504], 0xb
mov edi, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x4361ce
lea edi, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004195e0
add esp, 8
mov byte [esp + 0x504], 0xc
mov edx, dword [eax]
lea ecx, [esp + 0x14]
call fcn.00419db0
mov ebx, eax
lea edi, [esp + 0x24]
call fcn.00406b20
mov eax, dword [esp + 0x14]
test eax, eax
je 0x436244
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43623c
test edi, edi
je 0x43623c
mov eax, dword [edi]
test eax, eax
je 0x436223
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x436233
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push edi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0x504], 0xa
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
call fcn.0041a000
push 0x208
add eax, 0x664
push 0
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x58]
add esp, 0xc
cmp dword [esp + 0x50], esi
mov esi, dword [esp + 0x3c]
jae 0x43628c
lea esi, [esp + 0x3c]
call fcn.0041a000
lea ecx, [edi + edi]
push ecx
add eax, 0x664
push esi
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
call fcn.0041a000
mov ecx, eax
call fcn.0041a480
lea ecx, [esp + 0x38]
mov byte [esp + 0x504], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor ebx, ebx
push str.skin_
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov esi, eax
mov byte [esp + 0x504], 0xd
call fcn.0041a000
lea edx, [esp + 0x18]
push esi
lea edi, [eax + 0x664]
push edx
call fcn.004195e0
push eax
lea eax, [esp + 0x28]
push eax
mov edi, str._resouce.xml
mov byte [esp + 0x514], 0xe
call fcn.004195e0
add esp, 0x10
mov byte [esp + 0x504], 0xf
mov edx, dword [eax]
lea ecx, [esp + 0x14]
call fcn.00419db0
mov esi, eax
mov byte [esp + 0x504], 0x10
call fcn.004077e0
mov edi, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
call fcn.00406870
lea edx, [ebp + 0x5e0]
push edx
call fcn.0040fa50
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x436392
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x43638e
cmp esi, ebx
je 0x43638e
mov eax, dword [esi]
cmp eax, ebx
je 0x436375
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x436385
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x504], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp + 0x5e8]
mov eax, dword [eax + 0x5c]
push ebx
push 0x3ed
push ebp
lea edx, [esp + 0x44]
push edx
push 0x40000000
lea ecx, [ebp + 0x5e8]
push ebx
push ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call eax
mov edx, dword [ebp + 0x7c]
mov edx, dword [edx + 0x5c]
push ebx
push 0xfa5
push ebp
lea eax, [esp + 0x44]
push eax
push 0x40000000
lea ecx, [ebp + 0x7c]
push ebx
push ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call edx
push 0x80
lea esi, [ebp + 0xfc8]
call fcn.00428940
call fcn.0041a000
cmp dword [eax + 0x48], ebx
je 0x436444
mov eax, dword [ebp + 0xfcc]
push 8
push 0x8083
push eax
jmp 0x436451
mov ecx, dword [ebp + 0xfcc]
push ebx
push 0x8083
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push ebp
call fcn.004380a0
push 0x91
lea esi, [ebp + 0x1000]
call fcn.00428940
mov edx, dword [ebp + 0x1984]
push 0x15
push 0xffffffffffffffff
push 0x1a0
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x1038]
mov edx, dword [eax + 0x13c]
lea ecx, [ebp + 0x1038]
push ebp
push 0x85
call edx
mov eax, dword [ebp + 0x1fd0]
mov edx, dword [eax + 0x13c]
lea esi, [ebp + 0x1fd0]
push ebp
push 0x89
mov ecx, esi
call edx
push esi
call fcn.004198e0
mov eax, dword [ebp + 0x16b4]
mov edx, dword [eax + 0x13c]
lea ecx, [ebp + 0x16b4]
push ebp
push 0x86
call edx
lea ebx, [ebp + 0x74]
test ebx, ebx
je 0x43650b
mov esi, dword [0x477958]
mov eax, dword [esi + 0x1c]
add esi, 0x14
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x4364f9
call sub.MFC80U.DLL_Ordinal_1176
lea edi, [eax + 1]
call fcn.004160a0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + ecx*4], ebx
push str.skin_
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov esi, eax
mov byte [esp + 0x504], 0x11
call fcn.0041a000
lea edx, [esp + 0x18]
push esi
lea edi, [eax + 0x664]
push edx
call fcn.004195e0
push eax
lea eax, [esp + 0x28]
push eax
mov edi, str._xdict_skin.xml
mov byte [esp + 0x514], 0x12
call fcn.004195e0
add esp, 0x10
mov byte [esp + 0x504], 0x13
mov edx, dword [eax]
lea ecx, [esp + 0x14]
call fcn.00419db0
mov esi, eax
mov byte [esp + 0x504], 0x14
call fcn.004077e0
mov edi, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
call fcn.00406870
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp + 0x5e4]
push eax
call fcn.0040fd60
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4365e0
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4365d8
test esi, esi
je 0x4365d8
mov eax, dword [esi]
test eax, eax
je 0x4365bf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4365cf
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x504], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
call fcn.0041a000
add eax, 0x664
push eax
lea ecx, [ebp + 0x2698]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x436659
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x436659
mov eax, dword [esi]
test eax, eax
je 0x436640
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x436650
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e0]
xor ecx, esp
call fcn.00452313
add esp, 0x4f4
ret 4