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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49bfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x10], 1
jne 0x45161b
cmp dword [ebp + 0x18], 4
jne 0x45161b
call fcn.00450a40
test al, al
jne 0x450d0e
mov eax, 0x8007000e
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor ebx, ebx
mov byte [esp + 0x16], bl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
cmp edi, ebx
je 0x450d46
mov eax, dword [edi]
cmp eax, ebx
je 0x450d46
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
cmp eax, ebx
ja 0x450d46
jb 0x450d41
cmp ecx, 0x1000000
ja 0x450d46
mov byte [esp + 0x16], 1
mov dword [esp + 0x38], esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], ebx
mov edi, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
cmp edi, ebx
je 0x450d6b
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x450d7a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x34], 0
mov edi, dword [edx + 4]
cmp edi, ebx
je 0x450da5
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x450db4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x4c], edi
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x5c], 0
mov edi, dword [edx + 8]
cmp edi, ebx
je 0x450ddf
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x450dee
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x74], edi
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov byte [esi + 0x84], 0
mov edi, dword [edx + 0xc]
cmp edi, ebx
je 0x450e1c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x450e2e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0xb4], edi
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esi + 0xc4], 0
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x88], 1
mov byte [esi + 0x8c], 0
add esi, 0xc8
mov ecx, 0x102
mov eax, 0x400
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x8c], 1
mov edx, dword [eax]
mov edx, dword [edx]
push 0x4abc20
push eax
call edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
xor edi, edi
mov byte [esp + 0x14], 0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov eax, 0x20000
xor esi, esi
sub eax, edi
je 0x450f2d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
lea ebx, [esp + 0x30]
push ebx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, esi
add eax, edi
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov ebx, eax
test ebx, ebx
jne 0x4512fe
mov eax, dword [esp + 0x30]
test eax, eax
je 0x450f2d
add esi, eax
mov eax, 0x20000
sub eax, esi
sub eax, edi
jne 0x450ef1
add esi, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], 0
cmp esi, 5
jb 0x45138e
mov ebx, dword [ebp + 8]
add esi, 0xfffffffb
mov dword [esp + 0x34], esi
mov edx, dword [ebx + 8]
mov edi, dword [esp + 0x18]
mov al, byte [edi + edx]
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
lea esi, [ebx + 0x10]
mov byte [ecx + edx], al
inc dword [esi + 4]
mov byte [esp + 0x15], al
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x450f8d
cmp dword [esi + 0xc], eax
je 0x450f8d
call fcn.00442df0
test eax, eax
jne 0x451524
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x450f78
mov al, byte [esp + 0x15]
mov cl, al
and cl, 0xfe
cmp cl, 0xe8
je 0x450fb6
cmp byte [esp + 0x14], 0xf
jne 0x450fac
mov dl, al
and dl, 0xf0
cmp dl, 0x80
je 0x450fb6
inc edi
mov dword [esp + 0x18], edi
jmp 0x45128d
mov eax, dword [ebx + 8]
mov cl, byte [eax + edi + 4]
movzx esi, byte [eax + edi + 3]
add eax, edi
movzx edx, cl
shl edx, 8
or esi, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 1]
shl esi, 8
or esi, edx
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x20]
lea edx, [esi + edi]
lea edx, [edx + eax + 5]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x17], cl
mov dword [esp + 0x28], edx
test eax, eax
je 0x45114e
xor ecx, ecx
add edi, dword [esp + 0x44]
adc ecx, dword [esp + 0x48]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ecx
cmp dword [esp + 0x40], ecx
ja 0x4510c9
jb 0x451027
mov ecx, edi
cmp dword [esp + 0x3c], ecx
jae 0x4510c9
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push ecx
push eax
call edx
mov edi, eax
test edi, edi
jne 0x451073
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], ecx
adc ecx, eax
add dword [esp + 0x4c], 1
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x50], edi
jmp 0x4510ab
cmp edi, 1
je 0x451084
cmp edi, 0x80004001
jne 0x451537
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45109a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
or ecx, 0xffffffff
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x68]
jb 0x451027
ja 0x4510c9
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x64]
jb 0x451027
test eax, eax
jne 0x4510f4
cmp byte [esp + 0x16], al
je 0x451115
cmp eax, dword [esp + 0x60]
ja 0x4510ed
jb 0x451176
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x28], eax
jb 0x451176
xor al, al
jmp 0x451178
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
sub eax, edi
sbb edx, ecx
mov dword [esp + 0x78], edx
jne 0x451115
cmp eax, 0x1000000
jbe 0x451121
mov al, byte [esp + 0x17]
test al, al
je 0x451176
cmp al, 0xff
jmp 0x451170
mov eax, esi
cdq
add eax, dword [esp + 0x64]
adc edx, dword [esp + 0x68]
add eax, 5
adc edx, 0
cmp edx, ecx
jb 0x45114a
ja 0x45113c
cmp eax, edi
jb 0x45114a
cmp edx, dword [esp + 0x40]
ja 0x45114a
jb 0x451176
cmp eax, dword [esp + 0x3c]
jb 0x451176
xor al, al
jmp 0x451178
cmp byte [esp + 0x16], 0
je 0x451169
xor eax, eax
cmp eax, dword [esp + 0x60]
ja 0x451165
jb 0x451176
cmp edx, dword [esp + 0x5c]
jb 0x451176
xor al, al
jmp 0x451178
test cl, cl
je 0x451176
cmp cl, 0xff
je 0x451176
xor al, al
jmp 0x451178
mov al, 1
cmp byte [esp + 0x15], 0xe8
jne 0x451186
movzx ecx, byte [esp + 0x14]
jmp 0x451196
xor ecx, ecx
cmp byte [esp + 0x15], 0xe9
setne cl
add ecx, 0x100
mov edx, dword [ebx + 0x98]
lea edi, [ebx + 0x88]
test al, al
je 0x451248
mov eax, edx
shr eax, 0xb
imul eax, dword [ebx + ecx*4 + 0xc8]
add dword [edi + 8], eax
adc dword [edi + 0xc], 0
sub edx, eax
mov dword [edi + 0x10], edx
mov eax, dword [ebx + ecx*4 + 0xc8]
mov edx, eax
shr edx, 5
sub eax, edx
mov dword [ebx + ecx*4 + 0xc8], eax
mov eax, dword [edi + 0x10]
cmp eax, 0x1000000
jae 0x4511ed
shl eax, 8
mov dword [edi + 0x10], eax
call fcn.004506d0
add dword [esp + 0x18], 5
cmp byte [esp + 0x15], 0xe8
lea esi, [ebx + 0x38]
je 0x4511ff
lea esi, [ebx + 0x60]
mov edi, 0x18
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
mov ecx, edi
shr eax, cl
mov ecx, dword [esi + 4]
mov byte [ecx + edx], al
inc dword [esi + 4]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x451239
cmp dword [esi + 0xc], eax
je 0x451239
call fcn.00442df0
test eax, eax
jne 0x45157b
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x451224
sub edi, 8
jns 0x451204
mov cl, byte [esp + 0x17]
mov byte [esp + 0x14], cl
jmp 0x451291
shr edx, 0xb
imul edx, dword [ebx + ecx*4 + 0xc8]
mov dword [edi + 0x10], edx
mov eax, dword [ebx + ecx*4 + 0xc8]
mov edx, 0x800
sub edx, eax
shr edx, 5
add edx, eax
mov dword [ebx + ecx*4 + 0xc8], edx
mov eax, dword [edi + 0x10]
cmp eax, 0x1000000
jae 0x451285
shl eax, 8
mov dword [edi + 0x10], eax
call fcn.004506d0
inc dword [esp + 0x18]
mov al, byte [esp + 0x15]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
jbe 0x450f4e
add dword [esp + 0x20], eax
add dword [esp + 0x44], eax
mov eax, dword [ebp + 0x1c]
adc dword [esp + 0x48], 0
test eax, eax
je 0x4512cc
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
test edi, edi
jne 0x45158e
mov ecx, dword [esp + 0x2c]
xor edi, edi
cmp dword [esp + 0x18], ecx
jae 0x4512f7
mov esi, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [ebx + 8]
mov dl, byte [eax + esi]
mov esi, dword [esp + 0x18]
inc esi
mov byte [eax + edi], dl
inc edi
mov dword [esp + 0x18], esi
cmp esi, ecx
jb 0x4512e0
xor ebx, ebx
jmp 0x450ee6
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x451318
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp + 8]
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x451338
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test esi, esi
jbe 0x451479
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + eax]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x10]
mov byte [eax + ecx], dl
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [esp + 0x17], dl
cmp eax, dword [esi + 8]
jne 0x4513e9
cmp dword [esi + 0xc], eax
je 0x4513e9
lea ebx, [ebx]
call fcn.00442df0
test eax, eax
jne 0x451511
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 4]
jne 0x4513d0
mov dl, byte [esp + 0x17]
cmp dl, 0xe8
jne 0x4513f5
movzx eax, byte [esp + 0x14]
jmp 0x451415
cmp dl, 0xe9
jne 0x451401
mov eax, pe_nt_image_headers32
jmp 0x451415
cmp byte [esp + 0x14], 0xf
jne 0x451462
mov al, dl
and al, 0xf0
cmp al, 0x80
jne 0x451462
mov eax, 0x101
mov ecx, dword [ebx + 0x98]
lea edi, [ebx + 0x88]
shr ecx, 0xb
imul ecx, dword [ebx + eax*4 + 0xc8]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebx + eax*4 + 0xc8]
mov esi, 0x800
sub esi, ecx
shr esi, 5
add esi, ecx
mov dword [ebx + eax*4 + 0xc8], esi
mov eax, dword [edi + 0x10]
cmp eax, 0x1000000
jae 0x451462
shl eax, 8
mov dword [edi + 0x10], eax
call fcn.004506d0
mov dl, byte [esp + 0x17]
mov eax, dword [esp + 0x18]
inc eax
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jb 0x4513a0
mov esi, dword [ebp + 8]
mov ebx, esi
call fcn.00450c10
xor ebx, ebx
mov edi, eax
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45149e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4514bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x4514cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x4514df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x4514f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0xb4], ebx
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x4b66a4
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], eax
call fcn.004823eb
mov dword [esp + 0x34], eax
push 0x4b66a4
lea eax, [esp + 0x38]
push eax
call fcn.004823eb
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45154f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, ebx
mov dword [esp + 0x88], 0xffffffff
call fcn.004507d0
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [esp + 0x34], eax
push 0x4b66a4
lea eax, [esp + 0x38]
push eax
call fcn.004823eb
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x4515a8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x4515c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0x24], esi
mov eax, dword [ebx + 0x4c]
cmp eax, esi
je 0x4515d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0x4c], esi
mov eax, dword [ebx + 0x74]
cmp eax, esi
je 0x4515e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0x74], esi
mov eax, dword [ebx + 0xb4]
cmp eax, esi
je 0x451601
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0xb4], esi
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x80070057
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18