Function at 0x4d60b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501bff
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x54f018]
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
xor edi, edi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
sub esp, 0x1c
mov dword [ebp - 4], edi
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 1
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
push 0x5316c4
mov byte [ecx], 0
call fcn.004016d0
lea eax, [ebp - 0x9c]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.004eac70
push str._ssdCode
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 2
call fcn.004040e0
add esp, 0x14
mov byte [ebp - 4], 3
lea edx, [ebp - 0x154]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.004ebd80
add esp, 0x24
cmp eax, edi
sete bl
cmp dword [ebp - 0x50], 0x10
jb 0x4d6171
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], 0x10
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
jb 0x4d6198
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
test bl, bl
je 0x4d61d8
mov eax, dword [ebp - 0x154]
cmp eax, edi
je 0x4d61d1
mov edx, dword [ebp - 0x15c]
push edx
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
push ecx
push edx
push eax
call fcn.004169c0
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 0x14
xor eax, eax
jmp 0x4d67f8
lea ecx, [ebp - 0x9c]
push edi
push ecx
call fcn.004eac70
push str.publicConfCodeCheck.dat
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 6
call fcn.004040e0
add esp, 0x14
cmp dword [ebp - 0x88], 0x10
jb 0x4d6214
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x15c], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x48]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
push edx
mov byte [ecx], 0
call fcn.00401460
call fcn.0047b3d0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
add esp, 0x20
cmp ebx, 0x10
jae 0x4d625c
lea eax, [ebp - 0x2c]
push edi
push 0x51d12c
push eax
call fcn.00401d40
add esp, 0xc
cmp eax, edi
jne 0x4d6279
xor eax, eax
cmp dword [ebp - 0x1c], edi
setne al
cmp eax, edi
sete al
test al, al
je 0x4d62f3
cmp ebx, 0x10
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_1296]
jb 0x4d6294
mov eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
jb 0x4d62ad
mov ecx, dword [ebp - 0x48]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp eax, edi
je 0x4d61d1
mov edx, dword [ebp - 0x15c]
push edx
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
push ecx
push edx
push eax
call fcn.004169c0
mov eax, dword [ebp - 0x154]
push eax
call ebx
add esp, 0x14
xor eax, eax
jmp 0x4d67f8
mov eax, dword [ebp - 0x2c]
cmp ebx, 0x10
jae 0x4d62fe
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x2c]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
push edx
mov byte [ecx], 0
call fcn.00401460
lea ecx, [ebp - 0x16c]
call fcn.004e9900
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x150]
sub ecx, dword [ebp - 0x154]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x170], edi
je 0x4d677b
mov dword [ebp - 0x164], edi
jmp 0x4d6370
mov eax, dword [ebp - 0x164]
add eax, dword [ebp - 0x154]
cmp dword [eax + 0x14], 0x10
jb 0x4d6384
mov eax, dword [eax]
push eax
call fcn.004eb700
mov esi, eax
add esp, 4
push esi
mov dword [ebp - 0x17c], edx
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 4
push esi
mov ebx, eax
push edi
push ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x17c], ebx
mov eax, dword [ebp - 0x164]
push edi
push edi
lea ecx, [ebp - 0x174]
push ecx
mov byte [ebp - 4], 0xb
add eax, dword [ebp - 0x154]
push esi
push ebx
push eax
mov dword [ebp - 0x174], edi
call fcn.004eb7a0
add esp, 0x18
push ebx
test eax, eax
je 0x4d6985
mov ecx, esi
lea edi, [ebp - 0x64]
call fcn.004cec90
add esp, 4
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
mov eax, edi
cmp esi, 0x10
jae 0x4d6406
lea eax, [ebp - 0x64]
push 0
push 0x51d12c
push eax
call fcn.00401d40
add esp, 0xc
test eax, eax
jne 0x4d6422
cmp dword [ebp - 0x54], eax
setne al
test eax, eax
sete al
test al, al
jne 0x4d6814
mov edx, dword [0x54f3a0]
mov eax, dword [edx + 0xc]
mov ecx, 0x54f3a0
call eax
add eax, 0x10
mov dword [ebp - 0x158], eax
mov esi, dword [ebp - 0x170]
push esi
push str.FILE_d
lea edi, [ebp - 0x158]
mov byte [ebp - 4], 0xd
call fcn.004828a0
mov edx, dword [0x54f3a0]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x54f3a0
call eax
add eax, 0x10
mov dword [ebp - 0x160], eax
push esi
push str.MD5_d
lea edi, [ebp - 0x160]
mov byte [ebp - 4], 0xe
call fcn.004828a0
lea esi, [ebp - 0x144]
call fcn.0047b910
mov eax, dword [ebp - 0x164]
mov byte [ebp - 4], 0xf
add eax, dword [ebp - 0x154]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004eb230
add esp, 0x10
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x80]
mov edi, 0x10
cmp dword [ebp - 0x6c], edi
jae 0x4d64ce
lea eax, [ebp - 0x80]
push 0
push 0x51d12c
push eax
call fcn.00401d40
add esp, 0xc
test eax, eax
jne 0x4d64ea
cmp dword [ebp - 0x70], eax
setne al
test eax, eax
sete al
test al, al
jne 0x4d68a8
mov esi, dword [ebp - 0x158]
push esi
lea ecx, [ebp - 0x128]
call fcn.00401370
push str.CODE_CHECK
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x11
call fcn.00401370
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x12
call fcn.004e97b0
lea ecx, [ebp - 0x10c]
call fcn.00432240
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x10
call fcn.00432240
push 0x51d12c
lea ecx, [ebp - 0x19c]
call fcn.00401370
push esi
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x13
call fcn.00401370
push str.CODE_CHECK
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x14
call fcn.00401370
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x15
call fcn.004e98d0
lea ecx, [ebp - 0x128]
call fcn.00432240
lea ecx, [ebp - 0x10c]
call fcn.00432240
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x19
call fcn.00432240
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4d65e5
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x70]
push edx
push eax
mov eax, dword [ebp - 0xc4]
push eax
push 0
lea ecx, [ebp - 0xd4]
call fcn.00404050
test eax, eax
jne 0x4d694f
mov esi, dword [ebp - 0x160]
push esi
lea ecx, [ebp - 0xb8]
call fcn.00401370
push str.CODE_CHECK
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x1a
call fcn.00401370
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1b
call fcn.004e97b0
lea ecx, [ebp - 0xf0]
call fcn.00432240
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
call fcn.00432240
push 0x51d12c
lea ecx, [ebp - 0x1b8]
call fcn.00401370
push esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x1c
call fcn.00401370
push str.CODE_CHECK
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x1d
call fcn.00401370
lea ecx, [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1e
call fcn.004e98d0
lea ecx, [ebp - 0xb8]
call fcn.00432240
lea ecx, [ebp - 0xf0]
call fcn.00432240
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x22
call fcn.00432240
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x9c]
call fcn.004040c0
lea ecx, [ebp - 0x9c]
test al, al
jne 0x4d694a
call fcn.00432240
lea ecx, [ebp - 0xd4]
call fcn.00432240
lea ecx, [ebp - 0x80]
call fcn.00432240
lea ecx, [ebp - 0x144]
call fcn.00432240
lea ecx, [ebp - 0x160]
call fcn.00482740
lea ecx, [ebp - 0x158]
call fcn.00482740
lea ecx, [ebp - 0x64]
call fcn.00432240
push ebx
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc100.dll_Ordinal_266]
mov eax, dword [ebp - 0x170]
add dword [ebp - 0x164], 0x1c
inc eax
add esp, 4
xor edi, edi
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x15c]
jb 0x4d6370
lea esi, [edi + 0xf]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.004e9710
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [sym.imp.mfc100.dll_Ordinal_1296]
jb 0x4d679f
mov eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
jb 0x4d67b8
mov ecx, dword [ebp - 0x48]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp eax, edi
je 0x4d67f3
mov edx, dword [ebp - 0x17c]
push edx
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x148]
push ecx
push edx
push eax
call fcn.004169c0
mov eax, dword [ebp - 0x154]
push eax
call ebx
add esp, 0x14
mov eax, 1
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.004e8d32
mov esp, ebp
pop ebp
ret
cmp esi, 0x10
jb 0x4d6827
push edi
mov edi, dword [sym.imp.mfc100.dll_Ordinal_1296]
call edi
add esp, 4
jmp 0x4d682d
mov edi, dword [sym.imp.mfc100.dll_Ordinal_1296]
mov esi, 0xf
push ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call dword [sym.imp.mfc100.dll_Ordinal_266]
add esp, 4
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.004e9710
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x4d686c
mov edx, dword [ebp - 0x2c]
push edx
call edi
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], ebx
jb 0x4d6888
mov eax, dword [ebp - 0x48]
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00416640
xor eax, eax
jmp 0x4d67f8
lea ecx, [ebp - 0x80]
call fcn.00432240
lea ecx, [ebp - 0x144]
call fcn.00432240
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d68e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d6907
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x64]
call fcn.00432240
push ebx
call dword [sym.imp.mfc100.dll_Ordinal_266]
add esp, 4
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.004e9710
lea ecx, [ebp - 0x2c]
call fcn.00432240
lea ecx, [ebp - 0x48]
call fcn.00432240
lea ecx, [ebp - 0x154]
call fcn.00416640
xor eax, eax
jmp 0x4d67f8
call fcn.00432240
lea ecx, [ebp - 0xd4]
call fcn.00432240
lea ecx, [ebp - 0x80]
call fcn.00432240
lea ecx, [ebp - 0x144]
call fcn.00432240
lea ecx, [ebp - 0x160]
call fcn.00482740
lea ecx, [ebp - 0x158]
call fcn.00482740
jmp 0x4d6907
call dword [sym.imp.mfc100.dll_Ordinal_266]
add esp, 4
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.004e9710
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x4d69b4
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], ebx
jb 0x4d69d5
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp eax, edi
je 0x4d61d1
mov ecx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebp - 0x150]
lea edx, [ebp - 0x148]
push edx
push ecx
push eax
call fcn.004169c0
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 0x14
xor eax, eax
jmp 0x4d67f8