Function at 0x42d380
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c55c
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x270], esi
mov dword [0x52ce90], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov byte [ebp - 4], 1
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x250], cx
mov edi, 7
push eax
lea ecx, [ebp - 0x250]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
call fcn.00401390
mov byte [ebp - 4], 2
cmp dword [ebp - 0x240], ebx
jne 0x42d4ce
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d464
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004042f0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.00401390
push 0xa
push 0x487724
lea ecx, [ebp - 0x250]
call fcn.0040c300
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 8
jb 0x42d4ce
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 6
push str.GB2312
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.00402900
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov byte [ebp - 4], 4
call fcn.0042e950
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410ae0
mov edi, 0x10
cmp dword [ebp - 0x258], edi
jb 0x42d540
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0x258], 0xf
mov dword [ebp - 0x25c], ebx
mov byte [ebp - 0x26c], bl
cmp dword [ebp - 0x220], edi
jb 0x42d572
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x42d57b
mov eax, dword [esi]
jmp 0x42d57d
mov eax, esi
push 0x48773c
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x42d5b0
lea eax, [esi + 0x20]
push eax
push ebx
push esi
push 0x42da00
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42d5d0
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
push 0x487740
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x23c], 8
jb 0x42d5e9
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret 4