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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563bca
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x668038]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x20]
mov cl, al
and cl, 1
mov byte [ebp - 0x5c], cl
mov ecx, eax
and ecx, 2
mov edi, 1
mov dword [ebp - 0x4c], ecx
test al, 4
je 0x4465a1
mov esi, ebx
call fcn.00448e80
test al, al
jne 0x44659c
cmp byte [ebx + 0xf], al
je 0x4465a1
mov dword [ebp - 0x58], edi
jmp 0x4465a8
mov dword [ebp - 0x58], 0
test byte [ebp + 0x20], 8
je 0x4465c3
mov esi, ebx
call fcn.00448e80
test al, al
jne 0x4465be
cmp byte [ebx + 0xf], al
je 0x4465c3
mov dword [ebp - 0x54], edi
jmp 0x4465ca
mov dword [ebp - 0x54], 0
mov eax, ebx
call fcn.00444960
mov edi, dword [ebp + 0xc]
cmp edi, eax
jl 0x446ec2
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
test eax, eax
jge 0x4465ed
xor esi, esi
jmp 0x4465f8
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
mov esi, eax
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, eax
mov eax, dword [ebx + 0x8c]
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.00444960
add edx, esi
add eax, edx
cmp edi, eax
jge 0x446ec2
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp edi, eax
jge 0x446ec2
mov eax, ebx
call fcn.00444980
mov ecx, dword [ebp + 0x14]
cmp ecx, eax
jg 0x44664e
mov eax, ebx
call fcn.00444980
mov ecx, eax
mov dword [ebp + 0x14], ecx
cmp ecx, dword [ebp + 0x18]
jg 0x446ec2
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 0x10]
mov esi, dword [eax]
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
add esi, 4
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [ebx + 4]
call edx
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
add esi, 0x18
call eax
mov ecx, dword [ebx + 4]
mov edx, dword [esi]
push eax
call edx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x48], eax
mov eax, edx
call fcn.00452970
mov ecx, eax
call fcn.00498870
test al, al
je 0x446866
cmp dword [ebp - 0x4c], 0
jne 0x446866
cmp byte [ebp + 0x1c], 0
jne 0x446866
mov eax, edx
call fcn.00452970
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00453f50
mov dword [ebp - 0x40], eax
test al, 1
je 0x4467a0
mov eax, esi
call fcn.00454530
movzx ecx, al
push ecx
mov eax, esi
call fcn.00454520
lea edx, [ebp - 0xa0]
push edx
mov edi, eax
call fcn.004506e0
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
dec edi
push eax
mov dword [ebp - 0x3c], edi
call fcn.00452880
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
movsx ecx, ax
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call edx
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
push edx
call eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x3c]
push 1
push edx
mov edx, dword [ebp + 8]
push eax
push edi
push ecx
push edx
mov ecx, ebx
call fcn.00446540
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
add edi, 4
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + 4]
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
call fcn.004508d0
mov edi, dword [ebp + 0x10]
test byte [ebp - 0x40], 2
je 0x446866
mov eax, esi
call fcn.00454530
movzx ecx, al
push ecx
mov eax, esi
call fcn.00454520
lea edx, [ebp - 0xa0]
push edx
mov edi, eax
call fcn.004506e0
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
inc edi
push eax
mov dword [ebp - 0x3c], edi
call fcn.00452880
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
movsx ecx, ax
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 8]
push edi
call edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push 1
push ecx
push edx
push esi
push eax
push edi
mov ecx, ebx
call fcn.00446540
mov ecx, dword [ebx + 4]
mov esi, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
add esi, 4
call eax
mov ecx, dword [ebx + 4]
mov edx, dword [esi]
push eax
push edi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
call fcn.004508d0
mov edi, dword [ebp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x14]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebp + 0x14]
test eax, eax
jl 0x446eb2
cmp eax, dword [ebp + 0x18]
jg 0x446eb2
mov edx, dword [edi]
mov esi, eax
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
call eax
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x29], al
jge 0x4468e6
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
movsx ecx, ax
cmp dword [ebp + 0x14], ecx
jle 0x4468e6
mov ecx, dword [ebx + 8]
mov eax, ecx
call fcn.00452970
call fcn.00452a20
mov dword [ebp - 0x30], eax
mov eax, ecx
call fcn.00452970
call fcn.00452a50
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
jmp 0x4469ad
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ecx
mov ecx, edi
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
movzx eax, al
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, edi
call edx
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
cwde
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, edi
call edx
cmp esi, dword [ebp + 0x18]
cwde
mov dword [ebp - 0x24], eax
jge 0x4469ad
mov esi, dword [ebp - 0x28]
inc esi
jmp 0x446933
mov edi, dword [ebp + 0x10]
mov edx, dword [edi]
mov eax, dword [edx + 8]
push esi
mov ecx, edi
call eax
movzx ecx, al
cmp dword [ebp - 0x20], ecx
jne 0x4469ad
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push esi
mov ecx, edi
call eax
cmp byte [ebp - 0x29], al
jne 0x4469ad
mov edx, dword [edi]
mov eax, dword [edx + 0x3c]
push esi
mov ecx, edi
call eax
movsx ecx, ax
cmp dword [ebp - 0x30], ecx
jne 0x4469ad
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
push esi
mov ecx, edi
call eax
movsx ecx, ax
cmp dword [ebp - 0x24], ecx
jne 0x4469ad
mov eax, dword [ebp - 0x28]
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
inc eax
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, edi
mov byte [ebp - 0x35], al
call edx
mov cl, byte [ebp - 0x35]
cmp al, cl
jne 0x4469aa
mov eax, dword [ebp - 0x28]
inc eax
inc esi
cmp eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
jl 0x446930
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
mov ecx, edi
call edx
test al, al
je 0x4469de
cmp dword [ebp - 0x4c], 0
je 0x4469de
cmp dword [ebp - 0x30], 0xffffffff
je 0x4469de
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x4469de
xor eax, 0xff
mov dword [ebp - 0x30], eax
xor eax, 0xff
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x58], 0
jne 0x4469ea
cmp dword [ebp - 0x54], 0
je 0x446a04
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ecx
mov ecx, edi
call edx
test al, 4
jne 0x446a04
mov eax, dword [ebp - 0x28]
inc eax
jmp 0x446ea7
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
add eax, 0x1010
call fcn.0040f1f0
mov esi, eax
mov eax, dword [ebp - 0x20]
and eax, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x50], eax
jne 0x446a44
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, edi
call edx
test al, al
je 0x446a3e
cmp esi, 1
je 0x446a44
mov byte [ebp - 0x44], 0
jmp 0x446a48
mov byte [ebp - 0x44], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
mov ecx, edi
call edx
mov edx, dword [ebp - 0x44]
movzx eax, al
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 0x10]
push ecx
mov ecx, dword [ebp - 0x30]
push edx
push ebx
call fcn.00447e10
mov esi, ebx
mov dword [ebp - 0x30], eax
call fcn.00448e80
test al, al
jne 0x446a86
cmp byte [ebx + 0xf], al
jne 0x446a86
test byte [ebp - 0x20], 4
mov byte [ebp - 0x44], 1
jne 0x446a8a
mov byte [ebp - 0x44], 0
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
mov ecx, edi
call edx
mov edx, dword [ebp - 0x44]
movzx eax, al
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 0x30]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
push ebx
call fcn.00447e10
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, edi
mov dword [ebp - 0x24], esi
call edx
test al, al
je 0x446acb
cmp dword [ebp - 0x1c], 0
jne 0x446acb
mov al, 1
jmp 0x446acd
xor al, al
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push ecx
mov eax, ebx
call fcn.00447dc0
test al, al
je 0x446aea
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
shr edx, 2
test dl, 1
je 0x446b0b
test byte [ebp + 0x20], 0x18
je 0x446b0b
mov esi, ebx
call fcn.00448e80
test al, al
jne 0x446b11
cmp byte [ebx + 0xf], al
jne 0x446b11
test byte [ebp - 0x20], 0x10
je 0x446b17
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x4c], 0
je 0x446b4c
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
add eax, 0x4d0
call fcn.00403be0
test al, al
je 0x446b4c
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
add eax, 0x4e4
call fcn.0040f1f0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp + 0x14]
add eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 4]
add eax, dword [ebx + 0x54]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x14]
call eax
imul eax, dword [ebp + 0xc]
add eax, dword [ebx + 0x6c]
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x34], eax
jne 0x446b8d
mov edx, dword [edi]
mov eax, dword [ebp + 0x14]
mov edx, dword [edx + 0x5c]
push eax
mov ecx, edi
call edx
test al, al
je 0x446ba4
cmp dword [ebp - 0x1c], 1
jne 0x446ba4
mov esi, ebx
call fcn.00448e80
test al, al
jne 0x446ba4
cmp byte [ebx + 0xd], al
je 0x446ba4
mov eax, 1
jmp 0x446ba6
xor eax, eax
test byte [ebp - 0x20], 2
mov dword [ebp - 0x1c], eax
je 0x446bc6
mov esi, ebx
call fcn.00448e80
test al, al
jne 0x446bbf
cmp byte [ebx + 0xe], al
je 0x446bc6
mov eax, 2
jmp 0x446bc8
xor eax, eax
movzx ecx, byte [ebp - 0x29]
mov edx, dword [ebx + 0xa4]
mov esi, dword [edi]
and ecx, 7
shl ecx, 0xb
or ecx, eax
or dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
sub eax, ecx
inc eax
push eax
push ecx
push edx
mov edx, dword [esi + 0x30]
mov ecx, edi
mov dword [ebp - 0x18], eax
call edx
cwde
mov dword [ebp - 0x50], eax
add eax, eax
add eax, eax
call fcn.0054f730
mov esi, dword [ebp - 0x48]
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
mov eax, esp
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x60], eax
call edx
cmp dword [ebp - 0x18], 0
mov byte [ebp - 0x40], 0
jle 0x446eb2
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
mov ecx, edi
call edx
cwde
cmp dword [ebp + 0x14], eax
jl 0x446c7c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
imul edx, esi
mov ecx, dword [ebp - 0x34]
add edx, eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x70], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
add eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 4]
push edx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
mov edx, dword [ebp + 8]
push edx
call eax
jmp 0x446e5b
mov al, byte [ebp - 0x20]
test al, 0x40
je 0x446d70
cmp byte [ebx + 0x50], 0
je 0x446ccb
xor edx, edx
cmp dword [ebp - 0x18], edx
jle 0x446e5b
jmp 0x446ca0
mov ecx, dword [ebx + 0xa4]
lea eax, [ecx + edx*2]
movzx ecx, word [eax]
cmp cx, 0x7f
ja 0x446cc0
movzx ecx, cx
mov cx, word [ecx*2 + 0x6735c8]
mov word [eax], cx
inc edx
cmp edx, dword [ebp - 0x18]
jl 0x446ca0
jmp 0x446e5b
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [eax + 0x8dc], 0
je 0x446d2e
xor esi, esi
cmp dword [ebp - 0x18], esi
jle 0x446e5b
lea esp, [esp]
mov eax, dword [ebx + 0xa4]
cmp word [eax + esi*2], 0x7f
mov dword [ebp - 0x28], eax
ja 0x446d23
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + esi*2]
mov eax, dword [eax + 0x8dc]
mov dx, word [eax + edx*2]
mov word [ecx + esi*2], dx
mov byte [ebp - 0x40], 1
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x446cf0
jmp 0x446e5b
xor edx, edx
cmp dword [ebp - 0x18], edx
jle 0x446e5b
lea esp, [esp]
mov eax, dword [ebx + 0xa4]
movzx ecx, word [eax + edx*2]
lea eax, [eax + edx*2]
cmp cx, 0x7f
ja 0x446d65
movzx ecx, cx
mov cx, word [ecx*2 + 0x6734c8]
mov word [eax], cx
mov byte [ebp - 0x40], 1
inc edx
cmp edx, dword [ebp - 0x18]
jl 0x446d40
jmp 0x446e5b
test al, al
jns 0x446e08
xor edx, edx
cmp byte [ebx + 0x50], dl
je 0x446dc8
cmp dword [ebp - 0x18], edx
jle 0x446e5b
jmp 0x446d90
mov eax, dword [ebx + 0xa4]
lea ecx, [eax + edx*2]
movzx eax, word [ecx]
cmp ax, 0x30
jb 0x446db5
cmp ax, 0x7f
ja 0x446db5
and eax, 0xf
mov ax, word [eax*4 + 0x670a18]
jmp 0x446dba
mov eax, 0x20
inc edx
mov word [ecx], ax
cmp edx, dword [ebp - 0x18]
jl 0x446d90
jmp 0x446e5b
cmp dword [ebp - 0x18], 0
jle 0x446e5b
mov ecx, dword [ebx + 0xa4]
movzx eax, word [ecx + edx*2]
lea ecx, [ecx + edx*2]
cmp ax, 0x30
jb 0x446df8
cmp ax, 0x7f
ja 0x446df8
and eax, 0xf
movsx ax, byte [eax + 0x670a08]
jmp 0x446dfd
mov eax, 0x20
inc edx
mov word [ecx], ax
cmp edx, dword [ebp - 0x18]
jl 0x446dd2
jmp 0x446e5b
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp dword [eax + 0x8d8], 0
je 0x446e5b
xor esi, esi
cmp dword [ebp - 0x18], esi
jle 0x446e5b
mov eax, dword [ebx + 0xa4]
mov ecx, pe_nt_image_headers32
mov dword [ebp - 0x28], eax
cmp word [eax + esi*2], cx
jae 0x446e55
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + esi*2]
mov eax, dword [eax + 0x8d8]
mov dx, word [eax + edx*2]
mov word [ecx + esi*2], dx
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x446e22
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebx + 4]
mov esi, dword [ecx]
push edx
mov edx, dword [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x60]
push edx
push eax
mov eax, dword [esi + 0x14]
call eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [esi + 0xc]
push eax
push ecx
mov ecx, dword [ebx + 4]
call edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
test eax, eax
jge 0x446882
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push ecx
mov ecx, ebx
call edx
lea esp, [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054eee2
mov esp, ebp
pop ebp
ret 0x1c