Function at 0x411110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44fbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x463060]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463060]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x19c]
mov esi, dword [esp + 0x1a0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1b4]
xor ebp, ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
cmp esi, ebp
jne 0x4111a1
mov eax, 0x80070057
jmp 0x411ceb
mov ebx, 7
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebp
mov word [esp + 0xd8], cx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebp
mov word [esp + 0xf4], dx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x120], ebp
mov word [esp + 0x110], ax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, esi
mov dword [esp + 0x198], ebp
call fcn.0040f5c0
xor edx, edx
mov eax, esi
mov word [esp + 0x9c], dx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411221
sub eax, edx
sar eax, 1
mov ecx, esi
lea edx, [esp + 0x98]
call fcn.004020dd
mov byte [esp + 0x194], 1
cmp dword [esp + 0x1a4], ebp
jne 0x4112b6
lea eax, [esp + 0x1a4]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00410bf0
mov edi, eax
cmp edi, ebp
je 0x4112b6
cmp dword [esp + 0xb0], 8
jb 0x41128b
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042bd6c
add esp, 4
mov dword [esp + 0xb0], ebx
xor eax, eax
lea esi, [esp + 0xd4]
mov word [esp + 0x9c], ax
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, edi
jmp 0x411ceb
push 0xc
call fcn.0042be1e
add esp, 4
cmp eax, ebp
je 0x4112dc
mov dword [eax + 4], ebp
mov dword [eax], vtable.NKZ::CInFileStream.0
mov dword [eax + 8], 0xffffffff
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x4112e2
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x94], ebx
cmp ebx, ebp
je 0x4112f5
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov byte [esp + 0x194], 2
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x411315
lea eax, [esp + 0x9c]
push eax
mov esi, ebx
call fcn.0040f1a0
mov edi, eax
cmp edi, ebp
je 0x411361
mov byte [esp + 0x194], 1
cmp ebx, ebp
je 0x411337
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
cmp dword [esp + 0xb0], 8
jb 0x411351
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042bd6c
add esp, 4
mov dword [esp + 0xb0], 7
jmp 0x411292
mov edx, dword [esp + 0x1a4]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x10]
push ebp
push ebp
push ebp
push edx
push ebx
call eax
mov edi, eax
cmp edi, ebp
je 0x4113d3
mov byte [esp + 0x194], 1
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
cmp dword [esp + 0xb0], 8
jb 0x4113a4
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bd6c
add esp, 4
xor ecx, ecx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], cx
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, edi
jmp 0x411ceb
push 0x18
call fcn.0042be1e
add esp, 4
cmp eax, ebp
je 0x4113f7
mov edx, dword [esp + 0x1a4]
push ebp
push edx
mov edi, ebx
mov esi, eax
call fcn.0040ea20
mov edi, eax
jmp 0x4113f9
xor edi, edi
mov dword [esp + 0x54], edi
cmp edi, ebp
je 0x411409
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
push 0x2a
lea edx, [esp + 0x130]
push ebp
push edx
mov byte [esp + 0x1a0], 3
call fcn.0042e560
add esp, 0xc
mov eax, edi
lea esi, [esp + 0x12c]
call fcn.0040f520
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x4114a9
mov byte [esp + 0x194], 2
cmp edi, ebp
je 0x41144e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x194], 1
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
cmp dword [esp + 0xb0], 8
jb 0x411478
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042bd6c
add esp, 4
xor edx, edx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], dx
call fcn.00411d20
mov eax, dword [esp + 0x1c]
jmp 0x411ceb
mov ax, word [esp + 0x14c]
movzx ecx, ax
mov dword [esp + 0x30], ecx
cmp ax, bp
jne 0x41152d
mov byte [esp + 0x194], 2
cmp edi, ebp
je 0x4114d1
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov byte [esp + 0x194], 1
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
cmp dword [esp + 0xb0], 8
jb 0x4114fb
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bd6c
add esp, 4
xor ecx, ecx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], cx
call fcn.00411d20
mov eax, 0x80004005
jmp 0x411ceb
mov eax, dword [esp + 0x136]
test al, 1
je 0x4115d8
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push ebp
push edx
mov edx, dword [esp + 0x40]
push 2
push eax
push edi
call fcn.004129f0
add esp, 0x14
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x4115d1
mov byte [esp + 0x194], 2
cmp edi, ebp
je 0x411576
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov byte [esp + 0x194], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
cmp dword [esp + 0xb0], 8
jb 0x4115a0
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042bd6c
add esp, 4
xor eax, eax
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], ax
call fcn.00411d20
mov eax, dword [esp + 0x1c]
jmp 0x411ceb
mov eax, dword [esp + 0x136]
mov ebx, dword [esp + 0x20]
and eax, 2
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
add ebx, 8
lea eax, [esp + 0xb4]
mov dword [esp + 0x54], ebp
mov dword [esp + 0xb4], edi
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x1c], ebx
call fcn.00411e00
mov ecx, dword [esp + 0x152]
mov edi, dword [esp + 0x14e]
mov eax, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ecx
call fcn.00411db0
push ebp
mov ebx, eax
mov eax, dword [esp + 0x4c]
mov esi, dword [ebx]
mov edx, dword [esi]
mov ecx, dword [edx + 0x10]
push ebp
push eax
push edi
push esi
call ecx
mov edi, eax
cmp edi, ebp
jne 0x411954
mov dword [esp + 0x24], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
push 1
push edx
mov edx, dword [esp + 0x40]
push 1
lea eax, [esp + 0x30]
push eax
push esi
mov byte [esp + 0x1a8], 4
call fcn.004129f0
mov edi, eax
add esp, 0x14
cmp edi, ebp
jne 0x4119b1
push 0x14
call fcn.0042be1e
mov edi, dword [esp + 0x30]
add esp, 4
cmp eax, ebp
je 0x4116fd
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ebp
mov dword [eax], vtable.NKZ::CInBufStream.0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov esi, eax
mov dword [esp + 0x14], eax
jmp 0x411703
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x90], esi
cmp esi, ebp
je 0x411716
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x194], 5
cmp dword [esp + 0x58], ebp
je 0x411741
mov ecx, dword [esp + 0x50]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x64]
push eax
push ebx
mov ecx, esi
call fcn.004104b0
jmp 0x41175c
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
push ebx
push esi
push ecx
lea ecx, [esp + 0x74]
call fcn.00410740
mov ebx, eax
cmp ebx, ebp
jne 0x411a1f
mov ebx, 7
xor edx, edx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], dx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x198], 6
call fcn.0040fbf0
test eax, eax
je 0x411a99
push 0xc
call fcn.0042be1e
add esp, 4
cmp eax, ebp
je 0x4117c9
mov dword [eax + 4], ebp
mov dword [eax], vtable.NKZ::CInFileStream.0
mov dword [eax + 8], 0xffffffff
mov edi, eax
jmp 0x4117cb
xor edi, edi
mov dword [esp + 0x68], edi
cmp edi, ebp
je 0x4117db
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov byte [esp + 0x194], 7
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x4117fb
lea eax, [esp + 0xb8]
push eax
mov esi, edi
call fcn.0040f1a0
test eax, eax
jne 0x411aea
push 0x2a
lea eax, [esp + 0x15c]
push ebp
push eax
call fcn.0042e560
add esp, 0xc
mov eax, edi
lea esi, [esp + 0x158]
call fcn.0040f520
mov ebx, eax
cmp ebx, ebp
jne 0x411b57
movzx ecx, word [esp + 0x30]
movzx edx, word [esp + 0x178]
inc ecx
cmp ecx, edx
jne 0x411c23
mov eax, dword [esp + 0x17a]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x14]
mov ecx, dword [esp + 0x17e]
inc dword [esp + 0x30]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esi + 4]
push edx
push eax
push esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edi
call fcn.00411ee0
mov ecx, ebx
mov edi, eax
call fcn.00411f20
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
cmp dword [esp + 0xcc], 8
jb 0x4118da
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0042bd6c
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], dx
mov byte [esp + 0x194], 4
cmp eax, ebp
je 0x41190e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x194], 3
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], vtable.NKZ::CBuffer_unsigned_char_.0
call fcn.0042cb0a
add esp, 4
mov eax, ebx
call fcn.00411db0
mov edx, dword [esp + 0x48]
push ebp
push ebp
mov ebx, eax
mov esi, dword [ebx]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x10]
push edx
push eax
push esi
call ecx
mov edi, eax
cmp edi, ebp
je 0x41168c
mov eax, dword [esp + 0x18]
mov byte [esp + 0x194], 1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xb0], 8
jb 0x411982
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042bd6c
add esp, 4
xor edx, edx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], dx
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, edi
jmp 0x411ceb
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042cb0a
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x198], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
cmp dword [esp + 0xb0], 8
jb 0x4113a4
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bd6c
xor ecx, ecx
add esp, 4
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], cx
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, edi
jmp 0x411ceb
mov byte [esp + 0x194], 4
cmp esi, ebp
je 0x411a33
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
push edi
call fcn.0042cb0a
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x198], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
cmp dword [esp + 0xb0], 8
jb 0x411a6a
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bd6c
add esp, 4
xor ecx, ecx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], cx
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, ebx
jmp 0x411ceb
cmp dword [esp + 0xcc], 8
jb 0x411ab3
mov edx, dword [esp + 0xb8]
push edx
call fcn.0042bd6c
add esp, 4
xor eax, eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], ax
mov byte [esp + 0x194], 4
cmp esi, ebp
je 0x411adf
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
push edi
call fcn.0042cb0a
jmp 0x411c94
mov byte [esp + 0x194], 6
cmp edi, ebp
je 0x411afe
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0xcc], 8
jb 0x411b18
mov edx, dword [esp + 0xb8]
push edx
call fcn.0042bd6c
add esp, 4
xor eax, eax
mov word [esp + 0xb8], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], ebp
mov byte [esp + 0x194], 4
cmp eax, ebp
je 0x411b48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042cb0a
jmp 0x411c94
mov byte [esp + 0x194], 6
cmp edi, ebp
je 0x411b6b
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov edi, 8
cmp dword [esp + 0xcc], edi
jb 0x411b89
mov eax, dword [esp + 0xb8]
push eax
call fcn.0042bd6c
add esp, 4
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, 7
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], cx
mov byte [esp + 0x194], 4
cmp eax, ebp
je 0x411bbe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042cb0a
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x198], 1
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xb0], edi
jb 0x411bf8
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042bd6c
add esp, 4
mov dword [esp + 0xb0], esi
xor edx, edx
lea esi, [esp + 0xd4]
mov word [esp + 0x9c], dx
mov dword [esp + 0xac], ebp
call fcn.00411d20
mov eax, ebx
jmp 0x411ceb
mov byte [esp + 0x194], 6
cmp edi, ebp
je 0x411c37
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0xcc], 8
jb 0x411c51
mov edx, dword [esp + 0xb8]
push edx
call fcn.0042bd6c
add esp, 4
xor eax, eax
mov word [esp + 0xb8], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebp
mov byte [esp + 0x194], 4
cmp eax, ebp
je 0x411c85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042cb0a
mov ebx, 7
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x198], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
cmp dword [esp + 0xb0], 8
jb 0x411cc5
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042bd6c
add esp, 4
xor ecx, ecx
lea esi, [esp + 0xd4]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], cx
call fcn.00411d20
xor eax, eax
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0042bd77
add esp, 0x184
ret 0x1c