Function at 0x433480
Capabilities:
Delete file
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481d71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x500
mov eax, dword [0x4ac3b8]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x6c]
push edi
mov dword [esp + 0x508], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
xor ebx, ebx
push 0x4888e4
mov dword [esp + 0x518], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x4334ff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x434238
push ebx
push 0x80
push eax
mov word [esi + 4], bx
mov dword [esi + 0x18], ebx
call dword [sym.imp.MSVCR71.dll_fseek]
xor eax, eax
mov byte [esp + 0x16c], bl
mov ecx, 0x17
lea edi, [esp + 0x16d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x64]
mov ecx, dword [eax]
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x4c], ecx
je 0x433ed7
add ecx, 0x18
cmp ecx, ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], 0x60
je 0x433ed7
lea eax, [esp + 0x160]
test eax, eax
je 0x433ed7
call fcn.0046ffa0
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x433ed7
xor ecx, ecx
mov dword [esp + 0x13d], ecx
mov dword [esp + 0x141], ecx
mov dword [esp + 0x145], ecx
mov dword [esp + 0x149], ecx
mov dword [esp + 0x14d], ecx
mov dword [esp + 0x151], ecx
lea edx, [esp + 0x13c]
test edx, edx
mov dword [esp + 0x155], ecx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x159], ecx
je 0x43375b
xor eax, eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x99], ecx
mov dword [esp + 0x81], eax
mov dword [esp + 0x9d], ecx
mov dword [esp + 0x85], eax
mov dword [esp + 0xa1], ecx
mov dword [esp + 0xa5], ecx
mov dword [esp + 0x89], eax
xor edx, edx
mov dword [esp + 0x8d], eax
mov dword [esp + 0xa9], ecx
mov dword [esp + 0x69], edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], bl
mov dword [esp + 0x91], eax
mov byte [esp + 0x98], bl
mov byte [esp + 0x68], bl
mov dword [esp + 0x6d], edx
call fcn.00478380
push ebx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x51c], 1
call fcn.0047a5c0
push ebx
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00477170
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x40]
call fcn.00477230
mov esi, 3
lea ecx, [esp + 0x76]
xor eax, eax
sub esi, ecx
cmp eax, 0x14
jge 0x43369a
mov cl, byte [esp + eax + 0x74]
mov dl, byte [esp + eax + 0x98]
add cl, dl
mov byte [esp + eax + 0x74], cl
jmp 0x4336ad
cmp eax, 0x1c
jge 0x4336ad
mov dl, byte [esp + eax + 0x74]
mov cl, byte [esp + eax + 0x54]
add dl, cl
mov byte [esp + eax + 0x74], dl
cmp eax, 0x13
jge 0x4336c5
mov cl, byte [esp + eax + 0x75]
mov dl, byte [esp + eax + 0x99]
add cl, dl
mov byte [esp + eax + 0x75], cl
jmp 0x4336d8
cmp eax, 0x1b
jge 0x4336d8
mov dl, byte [esp + eax + 0x75]
mov cl, byte [esp + eax + 0x55]
add dl, cl
mov byte [esp + eax + 0x75], dl
cmp eax, 0x12
jge 0x4336f0
mov cl, byte [esp + eax + 0x76]
mov dl, byte [esp + eax + 0x9a]
add cl, dl
mov byte [esp + eax + 0x76], cl
jmp 0x433703
cmp eax, 0x1a
jge 0x433703
mov dl, byte [esp + eax + 0x76]
mov cl, byte [esp + eax + 0x56]
add dl, cl
mov byte [esp + eax + 0x76], dl
lea ecx, [esp + eax + 0x76]
lea edx, [esi + ecx]
cmp edx, 0x14
jge 0x433718
mov dl, byte [esp + eax + 0x9b]
jmp 0x433721
cmp edx, 0x1c
jge 0x433724
mov dl, byte [esp + eax + 0x57]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x433682
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x78]
push 0x20
push ecx
call fcn.0046fdf0
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x514], bl
call fcn.00478210
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x140]
push ecx
mov ecx, eax
call dword [edx]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x164]
push eax
mov eax, dword [esp + 0x50]
push 0x58
push eax
push 1
call dword [edx + 4]
lea ecx, [esp + 0x38]
push ecx
mov esi, eax
call fcn.0046f910
add esp, 4
cmp esi, ebx
je 0x433ed7
lea edx, [esp + 0x18]
push edx
mov ecx, 0x18
lea esi, [esp + 0x164]
lea edi, [esp + 0x1c4]
lea eax, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x1cc]
push edx
call fcn.00405320
add esp, 0x10
test eax, eax
je 0x433ed7
mov eax, dword [esp + 0x18]
mov ecx, 0x18
lea esi, [esp + 0x160]
lea edi, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c0]
test ecx, ecx
mov dword [esp + 0x34], eax
je 0x433ed7
call fcn.0046ffa0
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x433ed7
xor edx, edx
mov dword [esp + 0xf5], edx
mov dword [esp + 0xf9], edx
mov dword [esp + 0xfd], edx
mov dword [esp + 0x101], edx
mov dword [esp + 0x105], edx
mov dword [esp + 0x109], edx
lea eax, [esp + 0xf4]
test eax, eax
mov dword [esp + 0x10d], edx
mov byte [esp + 0xf4], bl
mov dword [esp + 0x111], edx
je 0x433a82
mov word [esp + 0x3a0], bx
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x3a2]
rep stosd dword es:[edi], eax
push str.Kele55
lea ecx, [esp + 0x3a4]
push str.Software_sLogin
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll_swprintf]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x3ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x43390c
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x6c]
push eax
push ebx
push str.LoginGUID
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov dword [esp + 0x10], ebx
jmp 0x433912
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xf4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433920
sub eax, edx
cmp eax, 0x20
je 0x4339d8
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4339c0
movzx ecx, byte [esp + 0xbf]
movzx edx, byte [esp + 0xbe]
movzx eax, byte [esp + 0xbd]
push ecx
movzx ecx, byte [esp + 0xc0]
push edx
movzx edx, byte [esp + 0xc3]
push eax
movzx eax, byte [esp + 0xc6]
push ecx
movzx ecx, byte [esp + 0xc9]
push edx
movzx edx, byte [esp + 0xcc]
push eax
movzx eax, word [esp + 0xce]
push ecx
movzx ecx, word [esp + 0xd0]
push edx
mov edx, dword [esp + 0xd0]
push eax
push ecx
push edx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x124]
push 0x20
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
jmp 0x4339d8
push 0x20
lea ecx, [esp + 0xf8]
push str.A86486387FF44994B1C3D4A68A09B18B
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20006
push ebx
lea eax, [esp + 0x3ac]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x433a2c
lea eax, [esp + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433a00
sub eax, edx
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0xf8]
push ecx
push 3
push ebx
push str.LoginGUID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x10]
push eax
jmp 0x433a7c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3a4]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x433a82
lea eax, [esp + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433a52
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0xf8]
push eax
push 3
push ebx
push str.LoginGUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x10]
push edx
call edi
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
push 0x20
lea edx, [esp + 0xf8]
push edx
call dword [eax]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x164]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x1cc]
push edx
push 1
call dword [eax + 4]
mov esi, eax
lea eax, [esp + 0x30]
push eax
call fcn.0046f910
add esp, 4
cmp esi, ebx
je 0x433ed7
mov ecx, 0x18
lea esi, [esp + 0x160]
lea edi, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
call fcn.0046ffa0
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x433ed7
xor edx, edx
mov dword [esp + 0x119], edx
mov dword [esp + 0x11d], edx
mov dword [esp + 0x121], edx
mov dword [esp + 0x125], edx
mov dword [esp + 0x129], edx
mov dword [esp + 0x12d], edx
lea eax, [esp + 0x118]
test eax, eax
mov dword [esp + 0x131], edx
mov byte [esp + 0x118], bl
mov dword [esp + 0x135], edx
je 0x433d62
mov word [esp + 0x2a0], bx
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x2a2]
rep stosd dword es:[edi], eax
push str.Kele55
lea ecx, [esp + 0x2a4]
push str.Software_sLogin
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll_swprintf]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x2ac]
push eax
push closesocket
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x433bed
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x5c]
push eax
push ebx
push str.LoginGUID
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov dword [esp + 0x14], ebx
jmp 0x433bf3
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x118]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433c00
sub eax, edx
cmp eax, 0x20
je 0x433cb8
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x433ca0
movzx ecx, byte [esp + 0xcf]
movzx edx, byte [esp + 0xce]
movzx eax, byte [esp + 0xcd]
push ecx
movzx ecx, byte [esp + 0xd0]
push edx
movzx edx, byte [esp + 0xd3]
push eax
movzx eax, byte [esp + 0xd6]
push ecx
movzx ecx, byte [esp + 0xd9]
push edx
movzx edx, byte [esp + 0xdc]
push eax
movzx eax, word [esp + 0xde]
push ecx
movzx ecx, word [esp + 0xe0]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
push edx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x148]
push 0x20
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
jmp 0x433cb8
push 0x20
lea ecx, [esp + 0x11c]
push str.033EA43D0C95436792206E6FF8E4E343
push ecx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x20006
push ebx
lea eax, [esp + 0x2ac]
push eax
push closesocket
call esi
test eax, eax
jne 0x433d0c
lea eax, [esp + 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433ce0
sub eax, edx
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 3
push ebx
push str.LoginGUID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
push eax
jmp 0x433d5c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2a4]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x433d62
lea eax, [esp + 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x433d32
mov ecx, dword [esp + 0x14]
sub eax, edx
push eax
lea eax, [esp + 0x11c]
push eax
push 3
push ebx
push str.LoginGUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x14]
push edx
call edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push 0x20
lea edx, [esp + 0x11c]
push edx
call dword [eax]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x164]
push edx
mov edx, dword [esp + 0x3c]
push edx
lea edx, [esp + 0x1cc]
push edx
push 1
call dword [eax + 4]
mov esi, eax
lea eax, [esp + 0x28]
push eax
call fcn.0046f910
add esp, 4
cmp esi, ebx
je 0x433ed7
mov ecx, 0x18
lea esi, [esp + 0x160]
lea edi, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
call fcn.0046ffa0
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x433ed7
xor ecx, ecx
mov dword [esp + 0xd1], ecx
mov dword [esp + 0xd5], ecx
mov dword [esp + 0xd9], ecx
mov dword [esp + 0xdd], ecx
mov dword [esp + 0xe1], ecx
mov dword [esp + 0xe5], ecx
lea edx, [esp + 0xd0]
test edx, edx
mov dword [esp + 0xe9], ecx
mov byte [esp + 0xd0], bl
mov dword [esp + 0xed], ecx
je 0x433e3d
push 0x20
mov eax, edx
push str.EA4D2AEC3AED4a8fAAC17DCB23F12C4E
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0xd4]
push ecx
mov ecx, eax
call dword [edx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x164]
push eax
push esi
lea eax, [esp + 0x1cc]
push eax
push 1
call dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.0046f910
add esp, 4
cmp esi, ebx
je 0x433ed7
mov edx, dword [esp + 0x20]
push edx
push 0x60
lea eax, [esp + 0x168]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x60
jb 0x433ed7
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
inc word [esi + 4]
push 0x58
push ecx
call fcn.00405260
mov edi, dword [esi + 0x18]
add edi, eax
add esp, 8
lea ecx, [esp + 0x4c]
mov dword [esi + 0x18], edi
call fcn.00432a60
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x433541
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 4]
mov eax, dword [ecx + 0x68]
cmp edx, eax
jne 0x434205
mov eax, ecx
push 0x20
mov dword [eax], 2
add eax, 0x1c
push str.ChatHall2010_2009_11_17_18:32:11
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
xor eax, eax
mov byte [esp + 0x22c], bl
mov ecx, 0x17
lea edi, [esp + 0x22d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x22c]
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], 0x60
je 0x434205
call fcn.0046ffa0
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x434205
xor ecx, ecx
mov dword [esp + 0xd1], ecx
mov dword [esp + 0xd5], ecx
mov dword [esp + 0xd9], ecx
mov dword [esp + 0xdd], ecx
mov dword [esp + 0xe1], ecx
mov dword [esp + 0xe5], ecx
lea edx, [esp + 0xd0]
test edx, edx
mov dword [esp + 0xe9], ecx
mov byte [esp + 0xd0], bl
mov dword [esp + 0xed], ecx
je 0x43412b
xor eax, eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x99], ecx
mov dword [esp + 0x81], eax
mov dword [esp + 0x9d], ecx
mov dword [esp + 0x85], eax
mov dword [esp + 0xa1], ecx
mov dword [esp + 0xa5], ecx
mov dword [esp + 0x89], eax
xor edx, edx
mov dword [esp + 0x8d], eax
mov dword [esp + 0xa9], ecx
mov dword [esp + 0x69], edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], bl
mov dword [esp + 0x91], eax
mov byte [esp + 0x98], bl
mov byte [esp + 0x68], bl
mov dword [esp + 0x6d], edx
call fcn.00478380
push ebx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x51c], 2
call fcn.0047a5c0
push ebx
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00477170
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x40]
call fcn.00477230
mov esi, 3
lea ecx, [esp + 0x76]
xor eax, eax
sub esi, ecx
cmp eax, 0x14
jge 0x43406a
mov cl, byte [esp + eax + 0x74]
mov dl, byte [esp + eax + 0x98]
add cl, dl
mov byte [esp + eax + 0x74], cl
jmp 0x43407d
cmp eax, 0x1c
jge 0x43407d
mov dl, byte [esp + eax + 0x74]
mov cl, byte [esp + eax + 0x54]
add dl, cl
mov byte [esp + eax + 0x74], dl
cmp eax, 0x13
jge 0x434095
mov cl, byte [esp + eax + 0x75]
mov dl, byte [esp + eax + 0x99]
add cl, dl
mov byte [esp + eax + 0x75], cl
jmp 0x4340a8
cmp eax, 0x1b
jge 0x4340a8
mov dl, byte [esp + eax + 0x75]
mov cl, byte [esp + eax + 0x55]
add dl, cl
mov byte [esp + eax + 0x75], dl
cmp eax, 0x12
jge 0x4340c0
mov cl, byte [esp + eax + 0x76]
mov dl, byte [esp + eax + 0x9a]
add cl, dl
mov byte [esp + eax + 0x76], cl
jmp 0x4340d3
cmp eax, 0x1a
jge 0x4340d3
mov dl, byte [esp + eax + 0x76]
mov cl, byte [esp + eax + 0x56]
add dl, cl
mov byte [esp + eax + 0x76], dl
lea ecx, [esp + eax + 0x76]
lea edx, [esi + ecx]
cmp edx, 0x14
jge 0x4340e8
mov dl, byte [esp + eax + 0x9b]
jmp 0x4340f1
cmp edx, 0x1c
jge 0x4340f4
mov dl, byte [esp + eax + 0x57]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x434052
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x78]
push 0x20
push ecx
call fcn.0046fdf0
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x514], bl
call fcn.00478210
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0xd4]
push ecx
mov ecx, eax
call dword [edx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x224]
push eax
mov eax, dword [esp + 0x2c]
push 0x60
push eax
push 1
call dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.0046f910
add esp, 4
cmp esi, ebx
je 0x434205
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x18
lea esi, [esp + 0x224]
lea edi, [esp + 0x4a4]
lea eax, [esp + 0x224]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0x4ac]
push edx
call fcn.00405320
add esp, 0x10
test eax, eax
je 0x434205
lea ecx, [esp + 0x280]
call fcn.00405140
mov esi, dword [esp + 0x20]
push ebx
push ebx
push esi
call dword [sym.imp.MSVCR71.dll_fseek]
push esi
push 0x20
lea eax, [esp + 0x294]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x1c
cmp eax, 0x20
jne 0x434205
mov ecx, esi
push ecx
push 0x60
lea edx, [esp + 0x228]
push 1
push edx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x60
jb 0x434205
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
mov esi, dword [esp + 0x54]
add esp, 4
cmp esi, ebx
jne 0x43422b
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x50c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x504]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4