Function at 0x43b760
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 0x4989f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x500
mov eax, dword [0x4d757c]
push ebx
push esi
xor eax, ebp
mov esi, ecx
push edi
mov dword [esp + 0x504], eax
mov eax, dword [ebp + 8]
lea edi, [esi + 0x6c]
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
xor ebx, ebx
push 0x4b7c4c
push eax
mov dword [esp + 0x51c], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.MSVCR71.dll__wfopen]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x43b7e5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x43c59e
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 + 0x18c], bl
mov ecx, 0x17
lea edi, [esp + 0x18d]
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 + 0x44], ecx
je 0x43c1eb
add ecx, 0x18
cmp ecx, ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], 0x60
je 0x43c1eb
lea edx, [esp + 0x180]
test edx, edx
je 0x43c1eb
call fcn.0047bb90
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x43c1eb
xor ecx, ecx
mov dword [esp + 0x15d], ecx
mov dword [esp + 0x161], ecx
mov dword [esp + 0x165], ecx
mov dword [esp + 0x169], ecx
mov dword [esp + 0x16d], ecx
mov dword [esp + 0x171], ecx
lea edx, [esp + 0x15c]
test edx, edx
mov dword [esp + 0x175], ecx
mov byte [esp + 0x15c], bl
mov dword [esp + 0x179], ecx
je 0x43ba95
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xd9], ecx
mov dword [esp + 0xc1], eax
mov dword [esp + 0xdd], ecx
mov dword [esp + 0xc5], eax
mov dword [esp + 0xe1], ecx
mov dword [esp + 0xe5], ecx
mov dword [esp + 0xc9], eax
xor edx, edx
mov dword [esp + 0xcd], eax
mov dword [esp + 0xe9], ecx
mov dword [esp + 0xa9], edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], bl
mov dword [esp + 0xd1], eax
mov byte [esp + 0xd8], bl
mov byte [esp + 0xa8], bl
mov dword [esp + 0xad], edx
call fcn.0048af50
push ebx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x51c], 1
call fcn.0048d340
push ebx
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x40]
call fcn.00489ed0
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x3c]
call fcn.00489f90
mov esi, 3
lea ecx, [esp + 0xb6]
xor eax, eax
sub esi, ecx
cmp eax, 0x14
jge 0x43b9a4
mov cl, byte [esp + eax + 0xb4]
mov dl, byte [esp + eax + 0xd8]
add cl, dl
mov byte [esp + eax + 0xb4], cl
jmp 0x43b9c0
cmp eax, 0x1c
jge 0x43b9c0
mov dl, byte [esp + eax + 0xb4]
mov cl, byte [esp + eax + 0x94]
add dl, cl
mov byte [esp + eax + 0xb4], dl
cmp eax, 0x13
jge 0x43b9de
mov cl, byte [esp + eax + 0xb5]
mov dl, byte [esp + eax + 0xd9]
add cl, dl
mov byte [esp + eax + 0xb5], cl
jmp 0x43b9fa
cmp eax, 0x1b
jge 0x43b9fa
mov dl, byte [esp + eax + 0xb5]
mov cl, byte [esp + eax + 0x95]
add dl, cl
mov byte [esp + eax + 0xb5], dl
cmp eax, 0x12
jge 0x43ba18
mov cl, byte [esp + eax + 0xb6]
mov dl, byte [esp + eax + 0xda]
add cl, dl
mov byte [esp + eax + 0xb6], cl
jmp 0x43ba34
cmp eax, 0x1a
jge 0x43ba34
mov dl, byte [esp + eax + 0xb6]
mov cl, byte [esp + eax + 0x96]
add dl, cl
mov byte [esp + eax + 0xb6], dl
lea ecx, [esp + eax + 0xb6]
lea edx, [esi + ecx]
cmp edx, 0x14
jge 0x43ba4c
mov dl, byte [esp + eax + 0xdb]
jmp 0x43ba58
cmp edx, 0x1c
jge 0x43ba5b
mov dl, byte [esp + eax + 0x97]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x43b986
lea eax, [esp + 0x15c]
push eax
lea ecx, [esp + 0xb8]
push 0x20
push ecx
call fcn.0047b9e0
add esp, 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x514], bl
call fcn.0048ade0
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x160]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x50]
push 0x58
push eax
push 1
call dword [edx + 8]
lea ecx, [esp + 0x34]
push ecx
mov esi, eax
call fcn.0047b500
add esp, 4
cmp esi, ebx
je 0x43c1eb
lea edx, [esp + 0x14]
push edx
mov ecx, 0x18
lea esi, [esp + 0x184]
lea edi, [esp + 0x1e4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x184]
push eax
push ecx
lea edx, [esp + 0x1ec]
push edx
mov ecx, 0x4d8288
call fcn.00401c20
test eax, eax
je 0x43c1eb
mov eax, dword [esp + 0x14]
mov ecx, 0x18
lea esi, [esp + 0x180]
lea edi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1e0]
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x43c1eb
call fcn.0047bb90
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x43c1eb
xor edx, edx
mov dword [esp + 0x139], edx
mov dword [esp + 0x13d], edx
mov dword [esp + 0x141], edx
mov dword [esp + 0x145], edx
mov dword [esp + 0x149], edx
mov dword [esp + 0x14d], edx
lea eax, [esp + 0x138]
test eax, eax
mov dword [esp + 0x151], edx
mov byte [esp + 0x138], bl
mov dword [esp + 0x155], edx
je 0x43bdb3
mov ecx, 0xa
mov esi, str.SoftwareBaduGuaGua
lea edi, [esp + 0x300]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov ecx, 0x35
lea edi, [esp + 0x32a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x30c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
stosw word es:[edi], ax
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bc39
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x64]
push edx
push ebx
push str.LoginGUID
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov dword [esp + 0xc], ebx
jmp 0x43bc3f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x138]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bc50
sub eax, edx
cmp eax, 0x20
je 0x43bd05
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x43bced
movzx eax, byte [esp + 0x87]
movzx ecx, byte [esp + 0x86]
movzx edx, byte [esp + 0x85]
push eax
movzx eax, byte [esp + 0x88]
push ecx
movzx ecx, byte [esp + 0x8b]
push edx
movzx edx, byte [esp + 0x8e]
push eax
movzx eax, byte [esp + 0x91]
push ecx
movzx ecx, byte [esp + 0x94]
push edx
movzx edx, word [esp + 0x96]
push eax
movzx eax, word [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
push ecx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x168]
push 0x20
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
jmp 0x43bd05
push 0x20
lea eax, [esp + 0x13c]
push str.A86486387FF44994B1C3D4A68A09B18B
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push ebx
lea edx, [esp + 0x30c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bd5d
lea eax, [esp + 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bd31
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x13c]
push eax
push 3
push ebx
push str.LoginGUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0xc]
push edx
jmp 0x43bdad
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x304]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x43bdb3
lea eax, [esp + 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bd83
sub eax, edx
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x13c]
push edx
push 3
push ebx
push str.LoginGUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push 0x20
lea eax, [esp + 0x13c]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1ec]
push eax
push 1
call dword [edx + 8]
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.0047b500
add esp, 4
cmp esi, ebx
je 0x43c1eb
mov edx, dword [esp + 0x14]
mov ecx, 0x18
lea esi, [esp + 0x180]
lea edi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
call fcn.0047bb90
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x43c1eb
xor eax, eax
mov dword [esp + 0x115], eax
mov dword [esp + 0x119], eax
mov dword [esp + 0x11d], eax
mov dword [esp + 0x121], eax
mov dword [esp + 0x125], eax
mov dword [esp + 0x129], eax
lea ecx, [esp + 0x114]
test ecx, ecx
mov dword [esp + 0x12d], eax
mov byte [esp + 0x114], bl
mov dword [esp + 0x131], eax
je 0x43c072
mov ecx, 0xa
mov esi, str.SoftwareBaduGuaGua
lea edi, [esp + 0x400]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x35
lea edi, [esp + 0x42a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
push edx
push 0x20019
stosw word es:[edi], ax
push ebx
lea eax, [esp + 0x40c]
push eax
push closesocket
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bf0d
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x5c]
push eax
push ebx
push str.LoginGUID
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov dword [esp + 0x10], ebx
jmp 0x43bf13
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x114]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bf20
sub eax, edx
cmp eax, 0x20
je 0x43bfc3
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x43bfab
movzx ecx, byte [esp + 0x77]
movzx edx, byte [esp + 0x76]
movzx eax, byte [esp + 0x75]
push ecx
movzx ecx, byte [esp + 0x78]
push edx
movzx edx, byte [esp + 0x7b]
push eax
movzx eax, byte [esp + 0x7e]
push ecx
movzx ecx, byte [esp + 0x81]
push edx
movzx edx, byte [esp + 0x84]
push eax
movzx eax, word [esp + 0x86]
push ecx
movzx ecx, word [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
push str._08X_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [esp + 0x144]
push 0x20
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x38
jmp 0x43bfc3
push 0x20
lea ecx, [esp + 0x118]
push str.033EA43D0C95436792206E6FF8E4E343
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 + 0x40c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c01c
lea eax, [esp + 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43bff0
sub eax, edx
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x118]
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 0x43c06c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x404]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x43c072
lea eax, [esp + 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43c042
mov ecx, dword [esp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x118]
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 esi
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push 0x20
lea edx, [esp + 0x118]
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x184]
push edx
mov edx, dword [esp + 0x38]
push edx
lea edx, [esp + 0x1ec]
push edx
push 1
call dword [eax + 8]
mov esi, eax
lea eax, [esp + 0x24]
push eax
call fcn.0047b500
add esp, 4
cmp esi, ebx
je 0x43c1eb
mov ecx, 0x18
lea esi, [esp + 0x180]
lea edi, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
call fcn.0047bb90
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x43c1eb
xor ecx, ecx
mov dword [esp + 0xf1], ecx
mov dword [esp + 0xf5], ecx
mov dword [esp + 0xf9], ecx
mov dword [esp + 0xfd], ecx
mov dword [esp + 0x101], ecx
mov dword [esp + 0x105], ecx
lea edx, [esp + 0xf0]
test edx, edx
mov dword [esp + 0x109], ecx
mov byte [esp + 0xf0], bl
mov dword [esp + 0x10d], ecx
je 0x43c14e
push 0x20
mov eax, edx
push str.EA4D2AEC3AED4a8fAAC17DCB23F12C4E
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x184]
push eax
push esi
lea eax, [esp + 0x1ec]
push eax
push 1
call dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047b500
add esp, 4
cmp esi, ebx
je 0x43c1eb
mov edx, dword [esp + 0x1c]
push edx
push 0x60
lea eax, [esp + 0x188]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x60
jb 0x43c1eb
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
inc word [esi + 4]
push 0x58
push ecx
mov ecx, 0x4d8288
call fcn.004015c0
mov edi, dword [esi + 0x18]
add edi, eax
lea ecx, [esp + 0x44]
mov dword [esi + 0x18], edi
call fcn.0043ad70
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jne 0x43b827
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx + 4]
mov eax, dword [ecx + 0x68]
cmp edx, eax
jne 0x43c56e
mov eax, ecx
mov dword [eax], 2
add eax, 0x1c
push str.ChatHall2010_2009_11_17_18:32:11
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
xor eax, eax
mov byte [esp + 0x248], bl
mov ecx, 0x17
lea edi, [esp + 0x249]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x248]
add esp, 8
test eax, eax
mov dword [esp + 0x28], 0x60
je 0x43c56e
call fcn.0047bb90
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x43c56e
xor ecx, ecx
mov dword [esp + 0xf1], ecx
mov dword [esp + 0xf5], ecx
mov dword [esp + 0xf9], ecx
mov dword [esp + 0xfd], ecx
mov dword [esp + 0x101], ecx
mov dword [esp + 0x105], ecx
lea edx, [esp + 0xf0]
test edx, edx
mov dword [esp + 0x109], ecx
mov byte [esp + 0xf0], bl
mov dword [esp + 0x10d], ecx
je 0x43c491
xor eax, eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xd9], ecx
mov dword [esp + 0xc1], eax
mov dword [esp + 0xdd], ecx
mov dword [esp + 0xc5], eax
mov dword [esp + 0xe1], ecx
mov dword [esp + 0xe5], ecx
mov dword [esp + 0xc9], eax
xor edx, edx
mov dword [esp + 0xcd], eax
mov dword [esp + 0xe9], ecx
mov dword [esp + 0xa9], edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xb4], bl
mov dword [esp + 0xd1], eax
mov byte [esp + 0xd8], bl
mov byte [esp + 0xa8], bl
mov dword [esp + 0xad], edx
call fcn.0048af50
push ebx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x51c], 2
call fcn.0048d340
push ebx
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x40]
call fcn.00489ed0
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x3c]
call fcn.00489f90
mov esi, 3
lea ecx, [esp + 0xb6]
xor eax, eax
sub esi, ecx
cmp eax, 0x14
jge 0x43c3a0
mov cl, byte [esp + eax + 0xb4]
mov dl, byte [esp + eax + 0xd8]
add cl, dl
mov byte [esp + eax + 0xb4], cl
jmp 0x43c3bc
cmp eax, 0x1c
jge 0x43c3bc
mov dl, byte [esp + eax + 0xb4]
mov cl, byte [esp + eax + 0x94]
add dl, cl
mov byte [esp + eax + 0xb4], dl
cmp eax, 0x13
jge 0x43c3da
mov cl, byte [esp + eax + 0xb5]
mov dl, byte [esp + eax + 0xd9]
add cl, dl
mov byte [esp + eax + 0xb5], cl
jmp 0x43c3f6
cmp eax, 0x1b
jge 0x43c3f6
mov dl, byte [esp + eax + 0xb5]
mov cl, byte [esp + eax + 0x95]
add dl, cl
mov byte [esp + eax + 0xb5], dl
cmp eax, 0x12
jge 0x43c414
mov cl, byte [esp + eax + 0xb6]
mov dl, byte [esp + eax + 0xda]
add cl, dl
mov byte [esp + eax + 0xb6], cl
jmp 0x43c430
cmp eax, 0x1a
jge 0x43c430
mov dl, byte [esp + eax + 0xb6]
mov cl, byte [esp + eax + 0x96]
add dl, cl
mov byte [esp + eax + 0xb6], dl
lea ecx, [esp + eax + 0xb6]
lea edx, [esi + ecx]
cmp edx, 0x14
jge 0x43c448
mov dl, byte [esp + eax + 0xdb]
jmp 0x43c454
cmp edx, 0x1c
jge 0x43c457
mov dl, byte [esp + eax + 0x97]
add byte [ecx + 1], dl
add eax, 4
cmp eax, 0x20
jl 0x43c382
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xb8]
push 0x20
push ecx
call fcn.0047b9e0
add esp, 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x514], bl
call fcn.0048ade0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x244]
push eax
mov eax, dword [esp + 0x28]
push 0x60
push eax
push 1
call dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047b500
add esp, 4
cmp esi, ebx
je 0x43c56e
lea edx, [esp + 0x28]
push edx
mov ecx, 0x18
lea esi, [esp + 0x244]
lea edi, [esp + 0x2a4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x244]
push eax
push ecx
lea edx, [esp + 0x2ac]
push edx
mov ecx, 0x4d8288
call fcn.00401c20
test eax, eax
je 0x43c56e
lea ecx, [esp + 0x88]
call fcn.004057b0
mov esi, dword [esp + 0x1c]
push ebx
push ebx
push esi
call dword [sym.imp.MSVCR71.dll_fseek]
push esi
push 0x20
lea eax, [esp + 0x9c]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x1c
cmp eax, 0x20
jne 0x43c56e
mov ecx, esi
push ecx
push 0x60
lea edx, [esp + 0x248]
push 1
push edx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 0x60
jb 0x43c56e
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
mov esi, dword [esp + 0x54]
add esp, 4
cmp esi, ebx
jne 0x43c591
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x64]
push eax
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]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a4fd
mov esp, ebp
pop ebp
ret 4