Function at 0x404400
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x486d90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x49e7c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e7c0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ecx, 0x4a0b14
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], ecx
call fcn.00404330
mov ebp, dword [esp + 0x80]
cmp ebp, 3
mov dword [esp + 0x78], edi
jne 0x404589
cmp dword [0x49fb88], edi
jne 0x404589
mov eax, dword [str.arc.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [0x49fb88], eax
jne 0x404481
or ebx, 0xffffffff
jmp 0x404589
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ArcGetVersion
push eax
call esi
mov ecx, dword [0x49fb88]
push str.ArcOpen
push ecx
mov dword [0x49fc10], eax
call esi
mov edx, dword [0x49fb88]
push str.ArcClose
push edx
mov dword [0x49fc0c], eax
call esi
mov dword [0x49fc08], eax
mov eax, dword [0x49fb88]
push str.ArcGetFileInfo
push eax
call esi
mov ecx, dword [0x49fb88]
push str.ArcGetDecodeStream
push ecx
mov dword [0x49fc04], eax
call esi
mov edx, dword [0x49fb88]
push str.ArcGetComment
push edx
mov dword [0x49fc00], eax
call esi
mov dword [0x49fbfc], eax
mov eax, dword [0x49fb88]
push str.ArcSetPassword
push eax
call esi
mov ecx, dword [0x49fb88]
push str.ArcWriteOpen
push ecx
mov dword [0x49fbf8], eax
call esi
mov edx, dword [0x49fb88]
push str.ArcWriteClose
push edx
mov dword [0x49fbf4], eax
call esi
mov dword [0x49fbf0], eax
mov eax, dword [0x49fb88]
push str.ArcCompressFile
push eax
call esi
mov ecx, dword [0x49fb88]
push str.ArcSetComment
push ecx
mov dword [0x49fbec], eax
call esi
mov edx, dword [0x49fb88]
push str.CheckArchive
push edx
mov dword [0x49fbe8], eax
call esi
mov dword [0x49fc14], eax
mov eax, dword [0x49fc10]
cmp eax, edi
je 0x404572
call eax
cmp eax, 0x12
je 0x404589
mov eax, dword [0x49fb88]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x49fb88], edi
mov ebx, 0xfffffffe
mov ecx, 0x4a0b14
mov dword [esp + 0x78], 0xffffffff
call fcn.004016e0
cmp ebx, edi
je 0x4046da
mov ecx, dword [ebp*4 + 0x49d074]
mov ebp, 7
mov eax, ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4045c1
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00402680
mov dword [esp + 0x78], 1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
cmp ebx, 0xffffffff
mov byte [esp + 0x78], 2
jne 0x404606
lea ecx, [esp + 0x34]
push ecx
push 0x192
jmp 0x404615
cmp ebx, 0xfffffffe
jne 0x40461d
lea edx, [esp + 0x34]
push edx
push 0x197
call fcn.00442450
add esp, 8
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
call fcn.00401fd0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea ecx, [esp + 0x18]
push ecx
push 0x198
mov byte [esp + 0x80], 3
call fcn.00442450
mov ecx, dword [esp + 0x24]
mov esi, 8
add esp, 8
cmp dword [esp + 0x30], esi
jae 0x404668
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x404676
lea eax, [esp + 0x54]
mov edx, dword [0x4a06a4]
push 0x10
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x30], esi
jb 0x40469a
mov eax, dword [esp + 0x1c]
push eax
call fcn.004775de
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jb 0x4046ba
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004775de
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
jb 0x4046da
mov edx, dword [esp + 0x54]
push edx
call fcn.004775de
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004777ea
add esp, 0x68
ret