Function at 0x10004a30
Capabilities:
Delete file
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002a811
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2394
call fcn.10015980
mov eax, dword [0x1003b270]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x70]
xor eax, ebp
push edi
mov dword [esp + 0x23a0], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
push 0x1002d6fc
mov ecx, ebx
mov dword [esp + 0x23b0], eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [esp + 0x30], eax
jne 0x10004ac1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10005f25
push ecx
push 0x80
push eax
mov word [esi + 4], cx
mov dword [esi + 0x10], ecx
call dword [sym.imp.MSVCR71.dll_fseek]
xor eax, eax
mov byte [esp + 0x224], 0
mov ecx, 0x17
lea edi, [esp + 0x225]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x68]
mov edx, dword [eax]
add esp, 0xc
cmp edx, eax
mov dword [esp + 0x54], edx
je 0x10005ba9
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x71], 0
lea edi, [edx + 8]
mov dword [esp + 0x18], edi
jne 0x10004b4b
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov edi, dword [eax + 0x14]
cmp edi, dword [esp + 0x64]
jg 0x10004b3d
jl 0x10004b38
mov edi, dword [eax + 0x10]
cmp edi, dword [esp + 0x60]
jae 0x10004b3d
mov eax, dword [eax + 8]
jmp 0x10004b41
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x71], 0
je 0x10004b24
mov edi, dword [esp + 0x18]
cmp ecx, dword [esi + 0x5c]
lea eax, [esi + 0x58]
mov dword [esp + 0x18], ecx
je 0x10004b6e
mov ebx, dword [edi + 4]
cmp ebx, dword [ecx + 0x14]
jl 0x10004b6e
jg 0x10004b68
mov ebx, dword [edi]
cmp ebx, dword [ecx + 0x10]
jb 0x10004b6e
lea ecx, [esp + 0x18]
jmp 0x10004b79
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x5c]
mov ebx, dword [esi + 0x5c]
cmp dword [ecx], ebx
je 0x10005b9a
push edi
mov ecx, eax
call fcn.10003040
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x1c], 0x60
je 0x10005ba9
lea eax, [esp + 0x218]
test eax, eax
je 0x10005ba9
call fcn.10016550
cmp eax, ebx
mov dword [esp + 0x40], eax
je 0x10005ba9
xor ecx, ecx
mov dword [esp + 0x1ad], ecx
mov dword [esp + 0x1b1], ecx
mov dword [esp + 0x1b5], ecx
mov dword [esp + 0x1b9], ecx
mov dword [esp + 0x1bd], ecx
mov dword [esp + 0x1c1], ecx
lea edx, [esp + 0x1ac]
test edx, edx
mov dword [esp + 0x1c5], ecx
mov byte [esp + 0x1ac], bl
mov dword [esp + 0x1c9], ecx
je 0x10004dca
xor eax, eax
mov dword [esp + 0x14d], eax
mov dword [esp + 0x151], eax
mov byte [esp + 0x14c], cl
mov dword [esp + 0x155], eax
mov dword [esp + 0x171], ecx
mov dword [esp + 0x159], eax
mov dword [esp + 0x175], ecx
mov dword [esp + 0x15d], eax
mov dword [esp + 0x179], ecx
mov dword [esp + 0x17d], ecx
mov dword [esp + 0x161], eax
mov dword [esp + 0x165], eax
xor edx, edx
mov dword [esp + 0x181], ecx
mov dword [esp + 0x141], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x169], eax
mov byte [esp + 0x170], al
mov byte [esp + 0x140], al
mov dword [esp + 0x145], edx
call fcn.10025240
push ebx
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x23b4], 1
call fcn.10027630
push ebx
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x50]
call fcn.100241c0
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x4c]
call fcn.10024280
mov esi, 3
lea ecx, [esp + 0x14e]
xor eax, eax
sub esi, ecx
lea esp, [esp]
cmp eax, 0x14
jge 0x10004d05
mov dl, byte [esp + eax + 0x170]
add byte [esp + eax + 0x14c], dl
jmp 0x10004d18
cmp eax, 0x1c
jge 0x10004d18
mov cl, byte [esp + eax + 0x12c]
add byte [esp + eax + 0x14c], cl
cmp eax, 0x13
jge 0x10004d2d
mov dl, byte [esp + eax + 0x171]
add byte [esp + eax + 0x14d], dl
jmp 0x10004d40
cmp eax, 0x1b
jge 0x10004d40
mov cl, byte [esp + eax + 0x12d]
add byte [esp + eax + 0x14d], cl
cmp eax, 0x12
jge 0x10004d55
mov dl, byte [esp + eax + 0x172]
add byte [esp + eax + 0x14e], dl
jmp 0x10004d68
cmp eax, 0x1a
jge 0x10004d68
mov cl, byte [esp + eax + 0x12e]
add byte [esp + eax + 0x14e], cl
lea ecx, [esp + eax + 0x14e]
lea edx, [ecx + esi]
cmp edx, 0x14
jge 0x10004d80
mov dl, byte [esp + eax + 0x173]
jmp 0x10004d8c
cmp edx, 0x1c
jge 0x10004d8f
mov dl, byte [esp + eax + 0x12f]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x10004cf0
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x150]
push 0x20
push ecx
call fcn.100163a0
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x23ac], 0
call fcn.100250d0
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x1b0]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x21c]
push eax
push 0x58
push edi
push 1
call dword [edx + 8]
lea ecx, [esp + 0x40]
push ecx
mov esi, eax
call fcn.10015ec0
add esp, 4
cmp esi, ebx
je 0x10005ba9
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x18
lea esi, [esp + 0x21c]
lea edi, [esp + 0x27c]
lea eax, [esp + 0x21c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x284]
push edx
call fcn.10009240
add esp, 0x10
test eax, eax
je 0x10005ba9
mov eax, dword [esp + 0x1c]
mov ecx, 0x18
lea esi, [esp + 0x218]
lea edi, [esp + 0x278]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x278]
test ecx, ecx
mov dword [esp + 0x44], eax
je 0x10005ba9
call fcn.10016550
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x10005ba9
xor edx, edx
mov dword [esp + 0x1d1], edx
mov dword [esp + 0x1d5], edx
mov dword [esp + 0x1d9], edx
mov dword [esp + 0x1dd], edx
mov dword [esp + 0x1e1], edx
mov dword [esp + 0x1e5], edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x1e9], edx
push eax
mov byte [esp + 0x1d4], 0
mov dword [esp + 0x1f1], edx
call fcn.10008fc0
push str.LoginLogin.dat
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x23bc], 2
call fcn.10001de0
add esp, 0x10
lea ecx, [esp + 0x6c]
mov byte [esp + 0x23ac], 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov byte [esp + 0x1398], 0
mov ecx, 0x1ff
lea edi, [esp + 0x1399]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x798], 0
mov ecx, 0xff
lea edi, [esp + 0x799]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x1f98], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x1f99]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1002d77c
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
xor edi, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x10004fae
push 2
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fseek]
push esi
call ebx
push esi
call dword [sym.imp.MSVCR71.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebx
add esp, 0x1c
cmp edi, 0x800
jbe 0x10004fae
mov ebx, 0x800
mov dword [esp + 0x10], ebx
jmp 0x10004fbc
test edi, edi
mov ebx, edi
mov dword [esp + 0x10], ebx
jle 0x10005173
test esi, esi
je 0x10005173
push esi
push ebx
lea edx, [esp + 0x13a0]
push 1
push edx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, ebx
push esi
je 0x10004fec
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
jmp 0x10005173
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc0]
call fcn.10010a90
cmp ebx, 0x20
mov ecx, 0x20
ja 0x1000500d
mov ecx, ebx
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x1398]
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebx, 0x20
rep movsb byte es:[edi], byte [esi]
jbe 0x10005033
mov ebx, 0x20
cmp ebx, dword [esp + 0x10]
jge 0x10005173
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc4]
call fcn.10010ad0
test eax, eax
je 0x10005173
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 4
mov ecx, 4
ja 0x10005068
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0x1398]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 4
rep movsb byte es:[edi], byte [esi]
jbe 0x1000508b
mov eax, 4
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x10005173
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x10005173
cmp eax, 0x20
jne 0x10005173
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 0x20
mov ecx, 0x20
jg 0x100050be
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0x1398]
lea edi, [esp + 0x798]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 0x20
rep movsb byte es:[edi], byte [esi]
jle 0x100050e4
mov eax, 0x20
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x10005173
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 4
mov ecx, 4
ja 0x10005102
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0x1398]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 4
rep movsb byte es:[edi], byte [esi]
jbe 0x10005125
mov eax, 4
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x10005173
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x10005173
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp ecx, eax
jl 0x10005141
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0x1398]
lea edi, [esp + 0x1f98]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jge 0x10005167
mov eax, ecx
add ebx, eax
cmp ebx, dword [esp + 0x10]
je 0x100053f7
mov esi, dword [sym.imp.ole32.dll_CoCreateGuid]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x798]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x80]
push eax
call esi
test eax, eax
jne 0x1000521e
movzx ecx, byte [esp + 0x8f]
movzx edx, byte [esp + 0x8e]
movzx eax, byte [esp + 0x8d]
push ecx
movzx ecx, byte [esp + 0x90]
push edx
movzx edx, byte [esp + 0x93]
push eax
movzx eax, byte [esp + 0x96]
push ecx
movzx ecx, byte [esp + 0x99]
push edx
movzx edx, byte [esp + 0x9c]
push eax
movzx eax, word [esp + 0x9e]
push ecx
movzx ecx, word [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x7c8]
push 0x400
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
mov dword [esp + 0x14], eax
jmp 0x1000523e
push 0x20
lea ecx, [esp + 0x79c]
push str.A86486387FF44994B1C3D4A68A09B18B
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x14], 0x20
lea edx, [esp + 0x80]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x1f98]
push edx
rep stosd dword es:[edi], eax
call esi
test eax, eax
jne 0x100052e3
movzx eax, byte [esp + 0x8f]
movzx ecx, byte [esp + 0x8e]
movzx edx, byte [esp + 0x8d]
push eax
movzx eax, byte [esp + 0x90]
push ecx
movzx ecx, byte [esp + 0x93]
push edx
movzx edx, byte [esp + 0x96]
push eax
movzx eax, byte [esp + 0x99]
push ecx
movzx ecx, byte [esp + 0x9c]
push edx
movzx edx, word [esp + 0x9e]
push eax
movzx eax, word [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
push eax
push ecx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x1fc8]
push 0x400
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
mov dword [esp + 0x18], eax
jmp 0x10005303
push 0x20
lea eax, [esp + 0x1f9c]
push str.033EA43D0C95436792206E6FF8E4E343
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x18], 0x20
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, 0x200
lea edi, [esp + 0x1398]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x100]
call fcn.10010a90
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, 8
lea esi, [esp + 0x100]
lea edi, [esp + 0x1398]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x13b8], ebx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x798]
lea edi, [esp + 0x13bc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebx, 0x24
mov dword [esp + ebx + 0x1398], eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
add ebx, 4
lea edi, [esp + ebx + 0x1398]
lea esi, [esp + 0x1f98]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x1002d6fc
lea ecx, [esp + 0x24]
add ebx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x10005417
push esi
push ebx
lea eax, [esp + 0x13a0]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, ebx
push esi
je 0x100053e3
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
jmp 0x10005417
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, 0x20
add esp, 4
cmp dword [esp + 0x14], ecx
jg 0x100053fb
mov ecx, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x798]
lea edi, [esp + 0x1d0]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
mov byte [esp + 0x23ac], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
push 0x20
lea edx, [esp + 0x1d4]
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x21c]
push edx
mov edx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x284]
push edx
push 1
call dword [eax + 8]
mov esi, eax
lea eax, [esp + 0x38]
push eax
call fcn.10015ec0
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x10005ba9
mov ecx, 0x18
lea esi, [esp + 0x218]
lea edi, [esp + 0x278]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
call fcn.10016550
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x10005ba9
xor edx, edx
mov dword [esp + 0x1f5], edx
mov dword [esp + 0x1f9], edx
mov dword [esp + 0x1fd], edx
mov dword [esp + 0x201], edx
mov dword [esp + 0x205], edx
mov dword [esp + 0x209], edx
lea eax, [esp + 0x74]
mov dword [esp + 0x20d], edx
push eax
mov byte [esp + 0x1f8], bl
mov dword [esp + 0x215], edx
call fcn.10008fc0
push str.LoginLogin.dat
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x23bc], 5
call fcn.10001de0
add esp, 0x10
lea ecx, [esp + 0x74]
mov byte [esp + 0x23ac], 7
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov byte [esp + 0xb98], bl
mov ecx, 0x1ff
lea edi, [esp + 0xb99]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x1b98], bl
mov ecx, 0xff
lea edi, [esp + 0x1b99]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x398], bl
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x399]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1002d77c
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
xor edi, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x100055c9
push 2
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fseek]
push esi
call ebx
push esi
call dword [sym.imp.MSVCR71.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebx
add esp, 0x1c
cmp edi, 0x800
jbe 0x100055c9
mov ebx, 0x800
mov dword [esp + 0x10], ebx
jmp 0x100055d7
test edi, edi
mov ebx, edi
mov dword [esp + 0x10], ebx
jle 0x1000578e
test esi, esi
je 0x1000578e
push esi
push ebx
lea edx, [esp + 0xba0]
push 1
push edx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, ebx
push esi
je 0x10005607
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
jmp 0x1000578e
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.10010a90
cmp ebx, 0x20
mov ecx, 0x20
ja 0x10005628
mov ecx, ebx
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0xb98]
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebx, 0x20
rep movsb byte es:[edi], byte [esi]
jbe 0x1000564e
mov ebx, 0x20
cmp ebx, dword [esp + 0x10]
jge 0x1000578e
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xa4]
call fcn.10010ad0
test eax, eax
je 0x1000578e
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 4
mov ecx, 4
ja 0x10005683
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0xb98]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 4
rep movsb byte es:[edi], byte [esi]
jbe 0x100056a6
mov eax, 4
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x1000578e
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x1000578e
cmp eax, 0x20
jne 0x1000578e
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 0x20
mov ecx, 0x20
jg 0x100056d9
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0xb98]
lea edi, [esp + 0x1b98]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 0x20
rep movsb byte es:[edi], byte [esi]
jle 0x100056ff
mov eax, 0x20
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x1000578e
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp eax, 4
mov ecx, 4
ja 0x1000571d
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0xb98]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 4
rep movsb byte es:[edi], byte [esi]
jbe 0x10005740
mov eax, 4
add ebx, eax
cmp ebx, dword [esp + 0x10]
jge 0x1000578e
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x1000578e
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp ecx, eax
jl 0x1000575c
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [esp + ebx + 0xb98]
lea edi, [esp + 0x398]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x10005782
mov eax, ecx
add ebx, eax
cmp ebx, dword [esp + 0x10]
je 0x10005a02
mov esi, dword [sym.imp.ole32.dll_CoCreateGuid]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x1b98]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x90]
push eax
call esi
test eax, eax
jne 0x10005837
movzx ecx, byte [esp + 0x9f]
movzx edx, byte [esp + 0x9e]
movzx eax, byte [esp + 0x9d]
push ecx
movzx ecx, byte [esp + 0xa0]
push edx
movzx edx, byte [esp + 0xa3]
push eax
movzx eax, byte [esp + 0xa6]
push ecx
movzx ecx, byte [esp + 0xa9]
push edx
movzx edx, byte [esp + 0xac]
push eax
movzx eax, word [esp + 0xae]
push ecx
movzx ecx, word [esp + 0xb0]
push edx
mov edx, dword [esp + 0xb0]
push eax
push ecx
push edx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x1bc8]
push 0x400
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
mov ebx, eax
jmp 0x10005854
push 0x20
lea ecx, [esp + 0x1b9c]
push str.A86486387FF44994B1C3D4A68A09B18B
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov ebx, 0x20
lea edx, [esp + 0x90]
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x398]
push edx
rep stosd dword es:[edi], eax
call esi
test eax, eax
jne 0x100058f9
movzx eax, byte [esp + 0x9f]
movzx ecx, byte [esp + 0x9e]
movzx edx, byte [esp + 0x9d]
push eax
movzx eax, byte [esp + 0xa0]
push ecx
movzx ecx, byte [esp + 0xa3]
push edx
movzx edx, byte [esp + 0xa6]
push eax
movzx eax, byte [esp + 0xa9]
push ecx
movzx ecx, byte [esp + 0xac]
push edx
movzx edx, word [esp + 0xae]
push eax
movzx eax, word [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push eax
push ecx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x3c8]
push 0x400
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
mov dword [esp + 0x14], eax
jmp 0x10005919
push 0x20
lea eax, [esp + 0x39c]
push str.033EA43D0C95436792206E6FF8E4E343
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x14], 0x20
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, 0x200
lea edi, [esp + 0xb98]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x120]
call fcn.10010a90
mov eax, dword [esp + 0x14]
mov ecx, 8
lea esi, [esp + 0x120]
lea edi, [esp + 0xb98]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xbb8], ebx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x1b98]
lea edi, [esp + 0xbbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebx, 0x24
mov dword [esp + ebx + 0xb98], eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
add ebx, 4
lea edi, [esp + ebx + 0xb98]
lea esi, [esp + 0x398]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x1002d6fc
lea ecx, [esp + 0x28]
add ebx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x10005a28
push esi
push ebx
lea eax, [esp + 0xba0]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, ebx
push esi
je 0x100059f5
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
jmp 0x10005a28
call dword [sym.imp.MSVCR71.dll_fclose]
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, 0x20
jle 0x10005a0c
mov ecx, 0x20
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x398]
lea edi, [esp + 0x1f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
mov byte [esp + 0x23ac], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
push 0x20
lea edx, [esp + 0x1f8]
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x21c]
push edx
mov edx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x284]
push edx
push 1
call dword [eax + 8]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
call fcn.10015ec0
add esp, 4
test esi, esi
je 0x10005ba9
mov ecx, 0x18
lea esi, [esp + 0x218]
lea edi, [esp + 0x278]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
call fcn.10016550
test eax, eax
mov dword [esp + 0x3c], eax
je 0x10005ba9
xor ecx, ecx
mov dword [esp + 0x189], ecx
mov dword [esp + 0x18d], ecx
mov dword [esp + 0x191], ecx
mov dword [esp + 0x195], ecx
mov dword [esp + 0x199], ecx
mov dword [esp + 0x19d], ecx
lea edx, [esp + 0x188]
test edx, edx
mov dword [esp + 0x1a1], ecx
mov byte [esp + 0x188], 0
mov dword [esp + 0x1a5], ecx
je 0x10005b17
push 0x20
mov eax, edx
push str.EA4D2AEC3AED4a8fAAC17DCB23F12C4E
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov eax, dword [esp + 0x48]
add esp, 0xc
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x18c]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x21c]
push eax
push esi
lea eax, [esp + 0x284]
push eax
push 1
call dword [edx + 8]
lea ecx, [esp + 0x3c]
push ecx
mov esi, eax
call fcn.10015ec0
add esp, 4
test esi, esi
je 0x10005ba9
mov edx, dword [esp + 0x30]
push edx
push 0x60
lea eax, [esp + 0x220]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x60
jb 0x10005ba9
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x28]
add word [esi + 4], 1
push 0x58
push ecx
call fcn.10009210
mov edx, dword [esp + 0x5c]
add esp, 8
add dword [esi + 0x10], eax
mov edx, dword [edx]
cmp edx, dword [esi + 0x68]
mov dword [esp + 0x54], edx
jne 0x10004b04
mov ebx, dword [esp + 0x28]
movzx edx, word [ebx + 4]
mov eax, dword [ebx + 0x60]
cmp edx, eax
jne 0x10005ef1
lea eax, [ebx + 0x14]
push 0x1002d7f8
push eax
mov dword [ebx], 2
call dword [sym.imp.MSVCR71.dll_wcscpy]
xor eax, eax
mov byte [esp + 0x2e0], 0
mov ecx, 0x17
lea edi, [esp + 0x2e1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x2e0]
add esp, 8
test ecx, ecx
stosb byte es:[edi], al
mov dword [esp + 0x34], 0x60
je 0x10005ef1
call fcn.10016550
test eax, eax
mov dword [esp + 0x28], eax
je 0x10005ef1
xor edx, edx
mov dword [esp + 0x189], edx
mov dword [esp + 0x18d], edx
mov dword [esp + 0x191], edx
mov dword [esp + 0x195], edx
mov dword [esp + 0x199], edx
mov dword [esp + 0x19d], edx
lea ecx, [esp + 0x188]
test ecx, ecx
mov dword [esp + 0x1a1], edx
mov byte [esp + 0x188], 0
mov dword [esp + 0x1a5], edx
je 0x10005e1c
mov byte [esp + 0x14c], dl
mov dword [esp + 0x14d], edx
mov dword [esp + 0x151], edx
mov dword [esp + 0x155], edx
xor eax, eax
mov dword [esp + 0x159], edx
mov dword [esp + 0x171], eax
mov dword [esp + 0x15d], edx
mov dword [esp + 0x175], eax
xor ecx, ecx
mov dword [esp + 0x141], ecx
mov dword [esp + 0x161], edx
mov dword [esp + 0x179], eax
mov dword [esp + 0x165], edx
mov dword [esp + 0x17d], eax
mov dword [esp + 0x145], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x169], edx
mov byte [esp + 0x170], dl
mov dword [esp + 0x181], eax
mov byte [esp + 0x140], al
call fcn.10025240
push 0
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x23b4], 8
call fcn.10027630
push 0
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x50]
call fcn.100241c0
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x4c]
call fcn.10024280
mov esi, 3
lea edx, [esp + 0x14e]
xor eax, eax
sub esi, edx
cmp eax, 0x14
jge 0x10005d57
mov cl, byte [esp + eax + 0x170]
add byte [esp + eax + 0x14c], cl
jmp 0x10005d6a
cmp eax, 0x1c
jge 0x10005d6a
mov dl, byte [esp + eax + 0x12c]
add byte [esp + eax + 0x14c], dl
cmp eax, 0x13
jge 0x10005d7f
mov cl, byte [esp + eax + 0x171]
add byte [esp + eax + 0x14d], cl
jmp 0x10005d92
cmp eax, 0x1b
jge 0x10005d92
mov dl, byte [esp + eax + 0x12d]
add byte [esp + eax + 0x14d], dl
cmp eax, 0x12
jge 0x10005da7
mov cl, byte [esp + eax + 0x172]
add byte [esp + eax + 0x14e], cl
jmp 0x10005dba
cmp eax, 0x1a
jge 0x10005dba
mov dl, byte [esp + eax + 0x12e]
add byte [esp + eax + 0x14e], dl
lea ecx, [esp + eax + 0x14e]
lea edx, [ecx + esi]
cmp edx, 0x14
jge 0x10005dd2
mov dl, byte [esp + eax + 0x173]
jmp 0x10005dde
cmp edx, 0x1c
jge 0x10005de1
mov dl, byte [esp + eax + 0x12f]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x10005d42
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x150]
push 0x20
push ecx
call fcn.100163a0
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x23ac], 0
call fcn.100250d0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x18c]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2dc]
push eax
push 0x58
push ebx
push 1
call dword [edx + 8]
lea ecx, [esp + 0x28]
push ecx
mov esi, eax
call fcn.10015ec0
add esp, 4
test esi, esi
je 0x10005ef1
lea edx, [esp + 0x34]
push edx
mov ecx, 0x18
lea esi, [esp + 0x2dc]
lea edi, [esp + 0x33c]
lea eax, [esp + 0x2dc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x344]
push edx
call fcn.10009240
add esp, 0x10
test eax, eax
je 0x10005ef1
lea ecx, [esp + 0xe0]
call fcn.10010a90
mov edi, dword [esp + 0x30]
push 0
push 0
push edi
call dword [sym.imp.MSVCR71.dll_fseek]
mov esi, dword [sym.imp.MSVCR71.dll_fwrite]
push edi
push 0x20
lea eax, [esp + 0xf4]
push 1
push eax
call esi
add esp, 0x1c
cmp eax, 0x20
jne 0x10005ef1
push edi
push 0x60
lea ecx, [esp + 0x2e0]
push 1
push ecx
call esi
add esp, 0x10
cmp eax, 0x60
jb 0x10005ef1
mov dword [esp + 0x58], 1
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.MSVCR71.dll_fclose]
mov esi, dword [esp + 0x5c]
add esp, 4
test esi, esi
jne 0x10005f18
mov ecx, dword [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x23a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x239c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001590b
mov esp, ebp
pop ebp
ret 4