Function at 0x30003f13
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x3000669c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x1b0]
push eax
push ebx
mov dword [0x300066b0], esi
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x1b0], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x24c], eax
lea eax, [ebp + eax - 0x1b0]
jmp 0x30003f7e
cmp byte [eax], 0x5c
je 0x30003f88
push eax
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
lea ecx, [ebp - 0x1b0]
cmp eax, ecx
jne 0x30003f6b
mov byte [eax], bl
cmp byte [ebp - 0x1b0], bl
je 0x30003f9f
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 0x1b0], bl
mov dword [ebp - 0x244], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x30003fd1
xor eax, eax
cmp dword [ebp - 0x234], 2
sete al
mov dword [0x300066b4], eax
push 0x21
lea eax, [ebp - 0xac]
push eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
test eax, eax
jne 0x30004002
push 0x10
push 0x30001364
push 0x3000132c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x300044b7
push edi
push 0x100
push 0x300066c8
xor edi, edi
inc edi
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x30004034
push 0x10
push 0x30001364
push 0x300012f4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x300044b6
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, bl
je 0x30004163
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp al, 0x2f
jne 0x3000411d
push ecx
call esi
movsx ecx, byte [eax]
cmp ecx, 0x61
jg 0x3000408f
je 0x30004066
sub ecx, 0x41
je 0x30004066
sub ecx, 0xb
jmp 0x30004092
cmp dword [0x300066b8], ebx
jne 0x300043cd
cmp dword [0x300066bc], ebx
jne 0x300043cd
mov dword [0x300066bc], edi
push eax
call esi
mov dword [ebp + 0x10], eax
jmp 0x30004156
sub ecx, 0x6c
je 0x300040da
dec ecx
je 0x3000433b
sub ecx, 4
je 0x300040d2
dec ecx
je 0x300040ca
dec ecx
jne 0x300043cd
cmp dword [0x300066b8], ebx
jne 0x300043cd
cmp dword [0x300066bc], ebx
jne 0x300043cd
mov dword [0x300066b8], edi
jmp 0x30004084
mov dword [0x300066c4], edi
jmp 0x30004084
mov dword [0x300066c0], edi
jmp 0x30004084
cmp dword [ebp - 0x250], ebx
jne 0x300043cd
push eax
mov dword [ebp - 0x250], edi
call esi
cmp byte [eax], 0x21
mov dword [ebp + 0x10], eax
jne 0x30004103
push eax
mov dword [ebp - 0x254], edi
call esi
mov dword [ebp + 0x10], eax
mov al, byte [eax]
cmp al, bl
je 0x30004163
cmp al, 0x20
je 0x30004156
cmp al, 0x5c
je 0x30004156
push 0x104
push 0x300066c8
jmp 0x30004145
cmp al, 0x20
jne 0x30004127
push ecx
jmp 0x30004085
cmp dword [ebp - 0x248], ebx
jne 0x300043cd
push 0x104
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x248], edi
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.30002d03
test eax, eax
je 0x300043cd
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, bl
jne 0x30004047
cmp dword [0x300066c4], ebx
je 0x30004177
cmp dword [0x300066c0], ebx
je 0x300043cd
cmp dword [ebp - 0x250], ebx
jne 0x30004185
mov byte [0x300066c8], bl
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call sub.OCLEAN.dll_InitDetection
lea eax, [ebp - 0x1b0]
push eax
call sub.OCLEAN.dll_SetSourceDir
lea eax, [ebp - 0xac]
push eax
push 0x104
lea eax, [ebp - 0x1b0]
push eax
call fcn.300029b9
push dword [0x300066c0]
lea eax, [ebp - 0x1b0]
push ebx
push eax
call sub.OCLEAN.dll_HfOpenOpc
cmp eax, 0xffffffff
mov dword [0x30006018], eax
je 0x3000402d
push ebx
push 0x30002a38
push 0x10
push dword [0x300066b0]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
cmp dword [0x300066b8], ebx
jne 0x300043da
cmp dword [0x300066bc], ebx
jne 0x300043e2
cmp dword [0x300066c0], ebx
jne 0x300043cd
cmp dword [ebp - 0x254], ebx
jne 0x300043cd
push 0x20
lea eax, [ebp - 0x28]
push eax
push 0x46
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringA]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push 0x20
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x71], 1
mov byte [ebp - 0x6d], bl
call fcn.300018a4
cmp byte [ebp - 0x28], bl
mov esi, dword [sym.imp.GDI32.dll_EnumFontFamiliesExA]
je 0x30004268
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x3000195d
lea eax, [ebp - 0x88]
push eax
push edi
call esi
cmp dword [0x300067e4], ebx
jne 0x300042a9
push 0x20
lea eax, [ebp - 0x28]
push eax
push 0x47
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x28]
push eax
push 0x20
lea eax, [ebp - 0x6c]
push eax
call fcn.300018a4
cmp byte [ebp - 0x28], bl
je 0x300042a9
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x30001987
lea eax, [ebp - 0x88]
push eax
push edi
call esi
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [0x300067e4], ebx
jne 0x3000439c
cmp dword [0x300067e8], ebx
je 0x3000439c
lea eax, [ebp - 0x28]
push eax
push 0x65
push dword [ebp + 8]
call fcn.30001996
push dword [ebp + 8]
mov esi, eax
push 0x300037fe
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
cmp eax, 0xffffffff
jne 0x30004332
push ebx
push ebx
lea eax, [ebp - 0x248]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x40
push 0x300012c8
push dword [ebp - 0x248]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x300043b0
push eax
jmp 0x3000435f
movzx eax, al
push eax
call sub.MSVCRT.dll_isdigit
test eax, eax
pop ecx
je 0x30004369
mov ecx, dword [ebp - 0x24c]
mov al, byte [edi]
inc dword [ebp - 0x24c]
mov byte [ebp + ecx - 0x4c], al
push edi
call esi
mov edi, eax
mov al, byte [edi]
cmp al, bl
jne 0x3000433e
mov eax, dword [ebp - 0x24c]
mov byte [ebp + eax - 0x4c], bl
cmp byte [ebp - 0x4c], bl
jne 0x30004388
push 0x300012c0
push 0x21
lea eax, [ebp - 0x4c]
push eax
call fcn.300018a4
lea eax, [ebp - 0x4c]
push eax
push ebx
call sub.OCLEAN.dll_UintDetectAndMigrate
neg eax
sbb eax, eax
inc eax
jmp 0x300044b6
push dword [ebp + 8]
push 0x300037fe
push ebx
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
call sub.OCLEAN.dll_FreeAllBuffers
mov eax, dword [0x300067d4]
cmp eax, ebx
je 0x300043c5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
inc eax
jmp 0x300044b6
push dword [ebp + 8]
call fcn.30003f03
jmp 0x3000402d
cmp dword [0x300066bc], ebx
je 0x300043f0
push ebx
call fcn.30002dcd
test eax, eax
je 0x3000402d
call fcn.30002948
mov eax, dword [0x300066c0]
push eax
push eax
push 0x66
push dword [ebp + 8]
call fcn.30002d87
push eax
push ebx
push dword [0x300066b8]
push dword [0x30006018]
call sub.OCLEAN.dll_FDetectTargetStates
test eax, eax
jne 0x30004424
call fcn.30002967
jmp 0x3000445d
mov eax, dword [0x300066c0]
push 0x300066c8
push eax
push eax
push 0x67
push dword [ebp + 8]
call fcn.30002d87
push eax
push ebx
push dword [0x300066b8]
push dword [0x30006018]
push ebx
push ebx
call sub.OCLEAN.dll_FDetermineCleanupActions
test eax, eax
jne 0x30004467
call fcn.30002967
call fcn.300026f7
call sub.OCLEAN.dll_FreeAllBuffers
jmp 0x3000402d
cmp dword [ebp - 0x254], ebx
jne 0x300044a0
push ebx
call sub.OCLEAN.dll_FEarlyAppDetection
mov eax, dword [0x300066c0]
push edi
push dword [0x300066c4]
push eax
push eax
push 0x68
push dword [ebp + 8]
call fcn.30002d87
push eax
push ebx
push dword [0x300066b0]
push dword [0x300066b8]
call sub.OCLEAN.dll_FExecuteCleanupActions
call fcn.30002967
call fcn.300026f7
call sub.OCLEAN.dll_FDoneWithPszFiles
call sub.OCLEAN.dll_FreeAllBuffers
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.30004a09
leave
ret 0x10