Function at 0x1003c0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x207
lea eax, [esp + 0x23d]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x244], bl
call fcn.10116880
add esp, 0xc
push 0x207
lea ecx, [esp + 0x445]
push ebx
push ecx
mov byte [esp + 0x44c], bl
call fcn.10116880
add esp, 0xc
push 0x207
lea edx, [esp + 0x35]
push ebx
push edx
mov byte [esp + 0x3c], bl
call fcn.10116880
add esp, 0xc
push 0x207
lea eax, [esp + 0x64d]
push ebx
push eax
mov byte [esp + 0x654], bl
call fcn.10116880
add esp, 0xc
mov ecx, edi
call fcn.10053200
test eax, eax
jne 0x1003c167
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
push 0x208
lea ecx, [esp + 0x23c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x208
lea ecx, [esp + 0x64c]
lea edx, [esp + 0x23c]
call fcn.10042a50
add esp, 4
test eax, eax
je 0x1003c1b0
lea edx, [esp + 0x648]
push edx
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x440]
lea edx, [esp + 0x238]
call fcn.10043ff0
lea ecx, [esp + 0x440]
push ebx
push ecx
call fcn.10044cc0
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x3c]
push str._sUNREGX.EXE
push eax
call fcn.1010d6a8
add esp, 0x14
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x38]
call fcn.10044660
add esp, 8
test eax, eax
jne 0x1003c249
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x101483c0
lea ecx, [esp + 0x34]
push ecx
call esi
push edi
lea edx, [esp + 0x34]
push edx
call esi
push ebx
push 0xffffffffffffffff
push ebx
push 1
lea eax, [esp + 0x40]
push eax
push ebx
xor edx, edx
xor ecx, ecx
call fcn.10047950
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x2c], eax
cmp eax, 0x20
jbe 0x1003c314
push str.DllUnregisterServer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x1003c302
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
push 0x1003c090
mov edi, 0x1e
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], esi
call fcn.1010d93f
add esp, 0xc
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x1003c2b6
call esi
jmp 0x1003c2f2
cmp dword [esp + 0x1c], ebx
jne 0x1003c2d0
lea esp, [esp]
mov esi, 5
call fcn.100326d0
cmp dword [esp + 0x1c], ebx
je 0x1003c2c0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], ebx
jne 0x1003c2ee
push 0x3e8
call esi
sub edi, 1
jne 0x1003c2d6
cmp dword [esp + 0x18], ebx
je 0x1003c2fe
mov eax, dword [esp + 0x28]
cmp eax, ebx
jl 0x1003c2fe
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call fcn.10056fe0
mov ecx, dword [esp + 0x854]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret