Function at 0x100e210
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x104c68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x10015d4]
mov word [ebp - 0x408], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x406]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x40c], 0
call fcn.01025150
cmp dword [0x104e770], 0
je 0x100e26d
mov edx, dword [0x104e770]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x104ef2c], 0
je 0x100e282
mov eax, dword [0x104ef2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x104e7c4], 0
jne 0x100e439
push 0x104c98c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c9ec
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104ca0c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104ca2c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c9cc
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c9ac
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c96c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c94c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c92c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
push 0x104c90c
call dword [sym.imp.SQLSVC90.dll_SHRecMemFree]
add esp, 4
cmp dword [0x104ef3c], 0
je 0x100e33c
push 0x104c778
call dword [sym.imp.SQLSVC90.dll_FreeCrossServiceSA]
add esp, 4
mov dword [0x104ef3c], 0
cmp dword [0x104ef40], 0
je 0x100e35d
push 0x104c74c
call dword [sym.imp.SQLSVC90.dll_FreeCrossServiceSA]
add esp, 4
mov dword [0x104ef40], 0
mov dword [ebp - 0x410], 0
jmp 0x100e378
mov ecx, dword [ebp - 0x410]
add ecx, 1
mov dword [ebp - 0x410], ecx
cmp dword [ebp - 0x410], 0x11
jge 0x100e3a7
mov edx, dword [ebp - 0x410]
cmp dword [edx*4 + 0x104e760], 0
je 0x100e3a5
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax*4 + 0x104e760]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e369
mov edx, dword [0x104f158]
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0
je 0x100e3d0
mov eax, dword [0x104f158]
push eax
push 0x61
push 0
push 1
call fcn.01028fb0
add esp, 0x10
call fcn.01011f50
or eax, dword [ebp - 0x40c]
mov dword [ebp - 0x40c], eax
cmp dword [0x104e7a8], 0
jne 0x100e3f3
cmp dword [ebp - 0x40c], 0
je 0x100e437
mov ecx, dword [0x104f15c]
push ecx
push 0x60
push 0
push 3
call fcn.01028fb0
add esp, 0x10
mov edx, dword [0x104f160]
push edx
push 0x134
push 0
push 3
call fcn.01028fb0
add esp, 0x10
mov eax, dword [0x104f164]
push eax
push 0x135
push 0
push 3
call fcn.01028fb0
add esp, 0x10
jmp 0x100e49b
push 0x200
lea ecx, [ebp - 0x408]
push ecx
push 0xf3
mov edx, dword [0x104ef34]
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x408]
push eax
push 0x10015b4
push 0x62
push 0
push 2
call fcn.01028fb0
add esp, 0x14
cmp dword [0x104e7dc], 0
je 0x100e487
mov ecx, dword [0x104e7dc]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [0x104b110]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010471ba
mov esp, ebp
pop ebp
ret