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

Disassembly:
push 0xffffffffffffffff
push 0x443484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov eax, dword [ecx + 0xdc]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], ebx
jne 0x407c2a
xor eax, eax
jmp 0x408520
add ecx, 0xf4
mov dword [esp + 0x1c], ebx
call fcn.00412a70
test eax, eax
jle 0x40851b
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jl 0x40853b
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xf4]
call fcn.00412a70
cmp esi, eax
jae 0x40853b
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
mov ebp, esi
push ebx
mov eax, dword [ecx + 0xf8]
lea ecx, [esp + 0x7c]
shl ebp, 4
add ebp, eax
mov byte [esp + 0x7c], dl
mov esi, dword [ebp]
call fcn.00411db0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x80]
call fcn.004120b0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x78]
mov dword [esp + 0x100], 3
push eax
push ecx
lea ecx, [edx + 0xdc]
call fcn.004075d0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00411ae0
call fcn.0040a940
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x407cea
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x104], 5
call fcn.00411db0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x407d15
mov dword [esp + 0x100], 0xffffffff
jmp 0x4084fb
mov ecx, dword [ebp + 8]
sub ecx, ebx
je 0x40834c
dec ecx
je 0x407e84
dec ecx
jne 0x4084e6
cmp dword [ebp + 4], 8
jne 0x4084e6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
push ecx
push 0x456550
push eax
call dword [edx]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x100], 0x1a
cmp eax, ebx
jne 0x407d7d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x100], 0xffffffff
cmp eax, ebx
je 0x4084fb
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4084fb
cmp dword [esp + 0x10c], ebx
je 0x407e16
mov al, byte [esp + 0x13]
mov esi, dword [ebp]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], al
call fcn.00411db0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x5c]
push ebx
call fcn.00412170
test al, al
je 0x407ddc
mov edi, dword [esp + 0x5c]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00412150
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push 3
push edx
mov byte [esp + 0x110], 0x1b
call fcn.004071b0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x104], 0x1a
call fcn.00411db0
mov eax, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [esp + 0x108], ebx
je 0x407e47
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov esi, eax
call dword [ecx + 0x44]
cmp eax, ebx
jge 0x407e3c
push 0x456550
push esi
push eax
call fcn.0043033a
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
jmp 0x407e65
mov edx, dword [ebp + 0xc]
mov esi, eax
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x40]
cmp eax, ebx
jge 0x407e65
push 0x456550
push esi
push eax
call fcn.0043033a
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x100], 5
cmp eax, ebx
je 0x4084e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4084e2
mov ecx, dword [ebp + 4]
sub ecx, 8
je 0x408006
dec ecx
jne 0x4084e6
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
push ecx
push 0x4565a0
push eax
call dword [edx]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x100], 0x15
cmp eax, ebx
je 0x407d5b
cmp dword [esp + 0x10c], ebx
je 0x407f36
mov al, byte [esp + 0x13]
mov esi, dword [ebp]
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0xac], al
call fcn.00411db0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xb0]
call fcn.004120b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
lea edx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 3
push eax
mov byte [esp + 0x110], 0x16
call fcn.004071b0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x104], 0x15
call fcn.00411db0
cmp dword [esp + 0x108], ebx
je 0x407f80
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00411770
mov ecx, dword [eax]
mov byte [esp + 0x100], 0x17
cmp ecx, ebx
je 0x407f62
call fcn.004085b0
jmp 0x407f64
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00439613
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x407fe7
call fcn.004076c0
mov dword [esp + 0x3c], ebx
jmp 0x407fe7
mov ecx, dword [ebp + 0xc]
call fcn.004075d0
push ecx
mov esi, eax
mov dword [esp + 0x2c], esp
mov edi, esp
push 0xc
call fcn.0043999e
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x104], 0x18
je 0x407fb5
push esi
mov ecx, eax
call fcn.004075e0
jmp 0x407fb7
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x104], 0x15
mov dword [edi], eax
jne 0x407fcf
push 0x8007000e
call fcn.0043032c
lea ecx, [esp + 0x18]
mov byte [esp + 0x104], 0x15
call fcn.004075d0
mov ecx, eax
call fcn.004116d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x100], 5
cmp eax, ebx
je 0x4084e2
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4084e2
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push edx
push 0x456550
push eax
call dword [ecx]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x408172
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x10c]
mov byte [esp + 0x100], 0xc
cmp ecx, ebx
je 0x4080af
mov dl, byte [esp + 0x13]
mov esi, dword [ebp]
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x9c], dl
call fcn.00411db0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0xa0]
call fcn.004120b0
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x98]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push 3
push edx
mov byte [esp + 0x110], 0xd
call fcn.004071b0
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x104], 0xc
call fcn.00411db0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x108], ebx
je 0x4081c6
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov esi, eax
call dword [ecx + 0x44]
cmp eax, ebx
jge 0x4080d9
push 0x456550
push esi
push eax
call fcn.0043033a
mov eax, dword [esp + 0x38]
mov word [esp + 0xb8], 3
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0xb8]
push 0x45b7f8
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov byte [esp + 0x10c], 0xe
call fcn.00411460
mov eax, dword [eax]
push 0x456560
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x10c], 0xf
call fcn.00408760
lea ecx, [esp + 0x54]
call fcn.00404020
lea ecx, [esp + 0xb8]
mov byte [esp + 0x100], 0xc
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x408154
push eax
call fcn.0043032c
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jne 0x40818e
mov eax, dword [esp + 0x14]
mov byte [esp + 0x100], 5
cmp eax, ebx
je 0x408172
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x100], 0xffffffff
cmp eax, ebx
je 0x4084fb
jmp 0x4084f5
lea edx, [esp + 0x50]
push edx
call fcn.004114f0
mov ecx, dword [eax]
mov byte [esp + 0x100], 0x10
cmp ecx, ebx
je 0x4081ad
call fcn.004085b0
jmp 0x4081af
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00439613
lea ecx, [esp + 0x50]
call fcn.00402480
jmp 0x408317
mov ecx, dword [0x457458]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x100], 0x11
xor esi, esi
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
mov edi, eax
call dword [edx + 0x6c]
cmp eax, ebx
jge 0x4081f7
push 0x456550
push edi
push eax
call fcn.0043033a
cmp esi, dword [esp + 0x30]
jge 0x408304
mov word [esp + 0xd8], 2
mov word [esp + 0xe0], si
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd8]
push 0x45b7f8
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x10c], 0x12
call fcn.00411460
mov eax, dword [eax]
push 0x456560
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x10c], 0x13
call fcn.00408760
lea ecx, [esp + 0x40]
call fcn.00404020
lea edx, [esp + 0xd8]
mov byte [esp + 0x100], 0x11
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x408279
push eax
call fcn.0043032c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4082db
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
push eax
call fcn.004395c3
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004114f0
mov ecx, dword [eax]
mov byte [esp + 0x100], 0x14
test ecx, ecx
je 0x4082b1
call fcn.004085b0
jmp 0x4082b3
xor eax, eax
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.00427600
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete bl
mov byte [esp + 0x100], 0x11
call fcn.00402480
test bl, bl
jne 0x4082e7
mov eax, dword [esp + 0x14]
inc esi
xor ebx, ebx
jmp 0x4081da
mov eax, dword [esp + 0x14]
push esi
push eax
mov edi, eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
jge 0x408304
push 0x456550
push edi
push eax
call fcn.0043033a
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0xc
call fcn.004394ce
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x100], 0xb
cmp eax, ebx
je 0x40832d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x100], 5
cmp eax, ebx
je 0x4084e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4084e2
cmp dword [ebp + 4], 7
jne 0x4084e6
mov eax, 0xb
mov word [esp + 0x70], 0xffff
mov word [esp + 0x68], ax
mov word [esp + 0xc8], ax
mov word [esp + 0xd0], bx
mov eax, dword [esp + 0x108]
mov byte [esp + 0x100], 7
cmp eax, ebx
je 0x4083f1
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.CHECKED
call fcn.00407620
lea edx, [esp + 0xf0]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x10c], 7
call fcn.004075d0
mov ecx, eax
call fcn.0040f1b0
lea eax, [esp + 0x68]
lea ecx, [esp + 0xe8]
push eax
call fcn.004085e0
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xe8]
and eax, 0xff
push edx
mov dword [ecx], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x408430
push eax
call fcn.0043032c
jmp 0x408430
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea eax, [esp + 0x68]
cmp ecx, ebx
jne 0x408405
lea eax, [esp + 0xc8]
push ebx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CHECKED
call fcn.00407620
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c], 7
call fcn.004075d0
mov ecx, eax
call fcn.0040f0f0
cmp dword [esp + 0x10c], ebx
je 0x4084a7
mov cl, byte [esp + 0x13]
mov esi, dword [ebp]
mov byte [esp + 0x88], cl
push ebx
lea ecx, [esp + 0x8c]
call fcn.00411db0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x90]
call fcn.004120b0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x88]
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x110], 0xa
call fcn.004071b0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 7
call fcn.00411db0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xc8]
push edx
mov byte [esp + 0x104], 6
call esi
cmp eax, ebx
jge 0x4084c9
push eax
call fcn.0043032c
lea eax, [esp + 0x68]
mov byte [esp + 0x100], 5
push eax
call esi
cmp eax, ebx
jge 0x4084e2
push eax
call fcn.0043032c
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x100], 0xffffffff
je 0x4084fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
inc esi
lea ecx, [edx + 0xf4]
mov dword [esp + 0x1c], esi
call fcn.00412a70
cmp esi, eax
jl 0x407c41
mov eax, 1
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf4
ret 8
push 4
call fcn.0043999e
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
mov dword [esp + 0x100], ebx
je 0x408582
push 0x456570
lea ecx, [esp + 0x34]
call fcn.004394f8
mov dword [esp + 0x4c], 1
lea eax, [esp + 0x30]
mov ecx, esi
push eax
mov byte [esp + 0x104], 1
call fcn.004087a0
jmp 0x408584
xor eax, eax
lea ecx, [esp + 0x38]
push 0x44f370
push ecx
mov dword [esp + 0x108], 2
mov dword [esp + 0x40], eax
call fcn.004276d0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop