Function at 0x422250
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fa1d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x44c100]
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
mov esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 8]
push str.J2KEngine.dll
push eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004212d0
add esp, 0xc
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test edi, edi
jne 0x4222ca
push 0x10
push 0
push 0x442d00
push 0
call ebx
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
push eax
push 0x104
push esi
call sub.msvcrt.dll_wcscpy_s
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push str.J2K_FreeMem
push edi
call esi
push str.J2K_GetPriorDict
push edi
mov dword [0x44cb68], eax
call esi
push str.J2K_GetProperty
push edi
mov dword [0x44cb6c], eax
call esi
push str.J2K_Initialize
push edi
mov dword [0x44cb70], eax
call esi
push str.J2K_InitializeEx
push edi
mov dword [0x44cb74], eax
call esi
push str.J2K_ReloadUserDict
push edi
mov dword [0x44cb78], eax
call esi
push str.J2K_SetDelJPN
push edi
mov dword [0x44cb7c], eax
call esi
push str.J2K_SetField
push edi
mov dword [0x44cb80], eax
call esi
push str.J2K_SetHnj2han
push edi
mov dword [0x44cb84], eax
call esi
push str.J2K_SetJWin
push edi
mov dword [0x44cb88], eax
call esi
push str.J2K_SetPriorDict
push edi
mov dword [0x44cb8c], eax
call esi
push str.J2K_SetProperty
push edi
mov dword [0x44cb90], eax
call esi
push str.J2K_StopTranslation
push edi
mov dword [0x44cb94], eax
call esi
push str.J2K_Terminate
push edi
mov dword [0x44cb98], eax
call esi
push str.J2K_TranslateChat
push edi
mov dword [0x44cb9c], eax
call esi
push str.J2K_TranslateFM
push edi
mov dword [0x44cba0], eax
call esi
push str.J2K_TranslateMM
push edi
mov dword [0x44cba4], eax
call esi
push str.J2K_TranslateMMEx
push edi
mov dword [0x44cba8], eax
call esi
mov dword [0x44cbac], eax
push str.J2K_TranslateMMNT
push edi
call esi
push str.J2K_TranslateMMNTW
push edi
mov dword [0x44cbb0], eax
call esi
mov dword [0x44cbb4], eax
mov ecx, 0x44cb68
cmp dword [ecx], 0
je 0x422512
add ecx, 4
cmp ecx, 0x44cbb0
jle 0x4223f3
test eax, eax
je 0x422412
mov byte [0x44cb60], 1
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Dat
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
call fcn.004212d0
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004225c0
add esp, 0x18
mov eax, dword [0x442f0c]
cmp dword [ebp - 0x24], 0xf
movq xmm0, qword [str.CSUSER123455]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov al, byte [0x442f10]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00422590
mov ecx, dword [ebp - 0x24]
mov bl, al
cmp ecx, 0xf
jbe 0x4224b0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4224a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422577
push ecx
push edx
call fcn.0042bdb4
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 7
jbe 0x4224fc
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4224f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422577
push ecx
push edx
call fcn.0042bdb4
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x422521
push 0x10
push 0
push 0x442eb0
push 0
call ebx
xor bl, bl
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x422557
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42254d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422577
push ecx
push edx
call fcn.0042bdb4
add esp, 8
mov al, bl
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.0042bc5c
mov esp, ebp
pop ebp
ret 4
call fcn.0042cf80
int3