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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10
mov dword [esp + 0x1c], edi
mov edx, dword [esi]
mov dword [esp + 0x3c], 3
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
lea ecx, [edi + 0x13c]
mov dword [edx + 0xc], eax
inc dword [eax]
call fcn.0040ae00
mov dword [esp + 0x5c], eax
test eax, eax
je 0x450544
mov eax, dword [edi + 0x150]
mov ecx, dword [esi]
mov dword [esp + 0x84], eax
inc ecx
xor eax, eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x60], 0x49cc38
mov dword [esp + 0x48], 0x49cc3c
mov dword [esi], ecx
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x47
jne 0x45055c
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ecx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ecx
push eax
push esi
push ebx
mov ecx, edi
call fcn.0040aca1
test eax, eax
js 0x450abb
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x10]
cmp eax, dword [0x4d23a0]
jg 0x45056e
test eax, eax
jle 0x45056e
shl eax, 4
add eax, dword [0x4d23dc]
mov esi, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
cmp word [eax + 8], 0
jne 0x40c08e
cmp dword [eax], 0x2b
je 0x450575
mov eax, 3
mov edx, dword [esp + 0x10]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
mov edi, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
jg 0x40c680
mov bl, byte [ebp + 8]
test bl, bl
jne 0x450637
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 0x18]
jl 0x450aa2
cmp eax, dword [edi + 0x14]
jg 0x450aa2
cmp ecx, edx
jne 0x450aa2
mov eax, dword [edi + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
test eax, eax
js 0x45078d
lea eax, [esp + 0x48]
mov ecx, 0x4d2380
push eax
call fcn.0040ad91
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x45079a
cmp dword [edi + 0x14], 1
jge 0x40c3d3
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [ebx + 0x150], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x9c], eax
mov byte [esp + 0xa0], al
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov byte [esp + 0xb8], al
mov eax, dword [ebx]
mov dword [esp + 0x94], 1
mov byte [esp + 0x98], 0
mov dword [esp + 0xb4], 1
mov edi, dword [eax + 4]
add edi, ebx
cmp byte [edi + 0xd], 0
jne 0x4509a8
push 0x40
call fcn.0041fe2b
mov esi, eax
add esp, 4
lea eax, [esp + 0x88]
mov ecx, esi
push eax
mov dword [esi + 8], 0
call fcn.004100f0
lea eax, [esp + 0xa8]
mov byte [esi + 0x10], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
push eax
mov dword [ecx + 8], 0
call fcn.004100f0
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
mov eax, dword [esp + 0x5c]
lea esi, [ebx + 0x164]
inc dword [edi + 4]
mov edi, dword [ebx + 0xf8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ebx, dword [esi]
inc eax
push eax
call fcn.0040d770
cmp ebx, dword [esi]
jb 0x4509c1
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
mov dword [ebx + 0xf8], edi
mov eax, dword [eax + 4]
mov cl, byte [eax + ebx + 0xd]
mov edi, dword [eax + ebx + 8]
test cl, cl
jne 0x4509d1
mov eax, edi
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x40c94d
mov byte [eax], 1
test cl, cl
jne 0x4509d9
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x40c272
cmp dword [esi + 0xc], 4
je 0x4509e1
mov ecx, esi
call fcn.0040cfb0
push edi
mov ecx, esi
call fcn.004100f0
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov cl, byte [eax + ebx + 0xd]
mov eax, dword [eax + ebx + 8]
test cl, cl
jne 0x450a04
mov esi, eax
cmp byte [esi + 0x18], 0
jne 0x450a0c
test cl, cl
jne 0x450a2e
mov esi, eax
cmp byte [esi + 0x30], 0
jne 0x450a36
mov eax, dword [edx + 4]
cmp byte [eax + ebx + 0xd], 0
lea esi, [eax + ebx]
jne 0x450a5f
cmp byte [esi + 0xc], 0
jne 0x450a7b
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x40c2e6
lea ecx, [edi + 0x20]
call fcn.0040cfb0
mov ecx, edi
call fcn.0040cfb0
push 0x40
push edi
call fcn.0041fe1d
add esp, 8
mov dword [esi + 8], ebx
xor al, al
mov ebx, dword [esp + 0xc]
mov byte [esi + 0xd], al
dec dword [esi + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
cmp byte [eax + 0xd], 0
mov ecx, dword [eax + 8]
jne 0x450a82
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x14], edx
cmp byte [eax + 0xd], 0
mov ecx, dword [eax + 8]
jne 0x450a8a
mov byte [ecx + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
mov ecx, dword [esi + 8]
jne 0x450a92
lea eax, [esp + 0xa8]
add ecx, 0x20
push eax
call fcn.0040acfb
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x450a9a
mov ecx, 0x4d2380
mov byte [eax + 0x30], 0
call fcn.0040a714
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
mov dword [ebx + 0x150], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.0040cfb0
lea ecx, [esp + 0x88]
call fcn.0040cfb0
lea ecx, [esp + 0x70]
call fcn.0040cfb0
mov edi, dword [esp + 0x38]
xor esi, esi
test edi, edi
jne 0x40c886
push dword [esp + 0x24]
call fcn.0041fe64
mov eax, dword [esp + 0x34]
add esp, 4
xor edi, edi
test eax, eax
jne 0x40c8b2
push dword [esp + 0x20]
call fcn.0041fe64
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov esi, dword [esp + 0x2c]
lea edx, [esi*4]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
cmp word [eax + 8], bx
je 0x4507e6
mov edx, dword [esp + 0x2c]
xor esi, esi
inc edx
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
lea edx, [ecx + edx*4]
jmp 0x40c430
mov eax, dword [edx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x450815
cmp ax, 0x48
je 0x40c93b
cmp ax, 0x40
jne 0x40c944
test esi, esi
jne 0x40c944
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x40]
jg 0x450933
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x45081b
mov eax, dword [esp + 0x2c]
or ebx, 0x200
cmp dword [0x4d2380], 0
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
je 0x450852
xor al, al
test al, al
jne 0x450859
cmp byte [0x4d2389], al
jne 0x45086f
mov esi, dword [0x4d2384]
push esi
push edi
mov dword [esp + 0x60], esi
call fcn.0040bbf0
test al, al
jne 0x45087c
and ebx, 0xff00
push 0x20
mov dword [esp + 0x2c], ebx
call fcn.0041fe2b
mov ebx, eax
add esp, 4
push 0x10
mov dword [ebx + 4], 0
mov dword [ebx + 8], 8
call fcn.0041fe5b
add esp, 4
mov dword [ebx], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.0041fe2b
mov ecx, eax
add esp, 4
mov dword [ecx], 1
mov dword [ebx + 0xc], ecx
cmp ebx, edi
je 0x40c569
mov edx, dword [ecx]
cmp edx, 1
jg 0x45089b
xor al, al
test al, al
jne 0x4508a2
mov esi, dword [edi + 4]
mov dword [ebx + 4], esi
lea ecx, [esi + 1]
cmp dword [ebx + 8], ecx
jb 0x4508c4
mov al, 1
test al, al
je 0x4508cb
lea eax, [esi*2 + 2]
push eax
push dword [edi]
push dword [ebx]
call fcn.00420e70
add esp, 0xc
mov eax, dword [esp + 0x28]
push 0x10
mov dword [ebx + 0x10], eax
call fcn.0041fe2b
add esp, 4
mov esi, eax
mov ecx, esi
push dword [esp + 0x3c]
mov dword [esi + 8], 0
call fcn.004100f0
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x40c649
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.0040bbf0
mov ecx, dword [esp + 0x28]
mov edi, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edi, edi
je 0x450915
test edx, edx
je 0x45091d
cmp edi, edx
jb 0x40c96c
mov edx, dword [ecx]
mov esi, dword [ebx]
test edi, edi
je 0x40c997
lea ebx, [ebx]
movzx eax, word [esi]
mov dword [esp + 0x48], eax
movzx eax, word [edx]
mov ecx, eax
mov dword [esp + 0x3c], ecx
movzx ecx, word [esi]
cmp cx, ax
jne 0x40c618
add esi, 2
add edx, 2
sub edi, 1
jne 0x40c5f0
jmp 0x40c997
mov eax, dword [esp + 0x3c]
cmp word [esp + 0x48], ax
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x40c9de
jle 0x45092a
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], ecx
mov dword [ecx + 0x1c], 0
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x10]
mov dword [eax], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
inc eax
add dword [esp + 0x18], 4
add eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [ecx + 0x14]
jle 0x40c3f0
jmp 0x40c11d
cmp ecx, edx
jae 0x40c0b0
mov eax, dword [esi + edi*4]
lea edx, [edi*4]
inc ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], ebx
xor bl, bl
cmp word [eax + 8], 0
je 0x450583
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x33
je 0x40c6be
xor bl, bl
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
je 0x40c7ea
push 1
call fcn.0041fe2b
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [eax], bl
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x70]
call fcn.0040cfb0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp dword [esp + 0x30], eax
je 0x40c838
push 0x10
call fcn.0041fe2b
mov esi, eax
add esp, 4
lea eax, [esp + 0x70]
mov ecx, esi
push eax
mov dword [esi + 8], 0
call fcn.004100f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x20]
mov dword [edx + ecx*4], esi
inc ecx
test bl, bl
mov dword [esp + 0x34], ecx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x6c], ecx
jne 0x4505d1
push dword [edx + ecx*4 - 4]
mov ecx, dword [esp + 0x14]
push eax
push ebx
call fcn.0040ec50
test eax, eax
js 0x450abb
mov ecx, dword [esp + 0x34]
inc edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi*4]
cmp word [eax + 8], 0x41
je 0x40c9ac
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ecx, edx
je 0x40c0b0
mov esi, dword [ebx + 4]
mov eax, dword [esi + ecx*4]
cmp word [eax + 8], 0x40
jne 0x45061f
lea eax, [ecx + 1]
cmp eax, edx
je 0x45061f
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov esi, dword [eax + 4]
mov eax, dword [esi + edi*4]
cmp word [eax + 8], 0x40
jne 0x40c7cb
inc edi
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [ebx + 0x14]
jge 0x40c0b0
mov ebx, dword [esp + 0x40]
jmp 0x40c680
add eax, eax
mov dword [esp + 0x44], eax
cmp eax, 8
jae 0x40c7fe
mov eax, 8
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [esp + 0x54], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe5b
mov edx, dword [esp + 0x28]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40ca2b
mov eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
jmp 0x40c6cc
add eax, eax
mov dword [esp + 0x28], eax
cmp eax, 8
jae 0x40c84c
mov eax, 8
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe5b
mov edx, dword [esp + 0x24]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40ca5a
mov eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
jmp 0x40c713
mov ebx, dword [esp + 0x24]
lea ebx, [ebx]
push 1
push dword [ebx + esi*4]
call fcn.0041fe1d
mov dword [ebx + esi*4], 0
add esp, 8
inc esi
cmp esi, edi
jb 0x40c890
mov ebx, dword [esp + 0x18]
jmp 0x40c3a2
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x40c926
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x40c8fa
mov eax, dword [ebx + 0xc]
dec dword [eax]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x40c8e8
push dword [ebx]
call fcn.0041fe64
add esp, 4
push 4
push dword [ebx + 0xc]
call fcn.0041fe1d
add esp, 8
push 0x10
push ebx
call fcn.0041fe1d
add esp, 8
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x40c9f7
push 0x10
push esi
mov dword [esi + 0xc], 1
mov dword [esi], 0
call fcn.0041fe1d
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, dword [esp + 0x20]
mov dword [ecx + edi*4], 0
inc edi
cmp edi, eax
jb 0x40c8b6
mov ebx, dword [esp + 0x18]
jmp 0x40c3bc
sub esi, 1
js 0x40c45c
inc edi
add edx, 4
jmp 0x40c430
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.0040cfb0
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x40c272
mov esi, dword [ecx]
mov edi, dword [ebx]
test edx, edx
je 0x40c997
movzx eax, word [edi]
mov dword [esp + 0x3c], eax
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x48], ecx
movzx ecx, word [edi]
cmp cx, ax
jne 0x40c99e
add edi, 2
add esi, 2
sub edx, 1
jne 0x40c974
xor eax, eax
jmp 0x40c627
mov eax, dword [esp + 0x48]
cmp word [esp + 0x3c], ax
jmp 0x40c621
inc edi
xor edx, edx
nop
mov eax, dword [ecx + edi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x4505f6
cmp ax, 0x48
je 0x40ca89
cmp ax, 0x40
je 0x40c9d4
inc edi
jmp 0x40c9b0
test edx, edx
je 0x40c787
jmp 0x40c9d1
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov dword [ecx + 0x18], 0
jmp 0x40c649
sub eax, 5
cmp eax, 0xa
ja case.0x40ca03.6
jmp dword [eax*4 + 0x40cad0]
mov ebx, dword [esi]
test ebx, ebx
je case.0x40ca03.6
mov ecx, ebx
call fcn.0041ce75
push 4
push ebx
call fcn.0041fe1d
add esp, 8
jmp case.0x40ca03.6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40c829
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e70
add esp, 0xc
push dword [esp + 0x24]
call fcn.0041fe64
add esp, 4
jmp 0x40c829
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40c877
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e70
add esp, 0xc
push dword [esp + 0x20]
call fcn.0041fe64
add esp, 4
jmp 0x40c877
sub edx, 1
js 0x40c787
jmp 0x40c9d1
mov ebx, dword [esi]
test ebx, ebx
je case.0x40ca03.6
lea ecx, [ebx + 8]
call fcn.0040989f
push 0x18
push ebx
call fcn.0041fe1d
add esp, 8
jmp case.0x40ca03.6
mov ecx, dword [esi]
test ecx, ecx
je case.0x40ca03.6
mov eax, dword [ecx]
push 1
call dword [eax]
jmp case.0x40ca03.6
push dword [esp + 0x18]
mov ecx, edi
push 0x85
call fcn.0047366c
or eax, 0xffffffff
jmp 0x40c3ca
push dword [esp + 0x18]
mov ecx, edi
push 0x6f
call fcn.0047366c
jmp 0x450abb
xor eax, eax
jmp 0x40c075
mov eax, 4
mov dword [esp + 0x2c], eax
jmp 0x40c093
mov eax, dword [esi + edx + 4]
cmp word [eax + 8], 0x33
je 0x45059f
mov eax, dword [esi + edx]
mov ecx, dword [esi + edx + 4]
mov eax, dword [eax]
cmp eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
je 0x4505fc
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x4505ad
mov bl, 1
jmp 0x4505ba
cmp eax, 0x1e
jne 0x4505fc
mov dword [esp + 0x58], 0x100
inc edi
mov eax, dword [esi + edi*4]
lea edx, [edi*4]
cmp word [eax + 8], 0
je 0x450583
jmp 0x40c6ac
push 0
push 1
push dword [esp + 0x64]
push dword [edx + ecx*4 - 4]
mov ecx, dword [esp + 0x20]
push eax
push ebx
call fcn.0041d275
test eax, eax
js 0x450abb
inc edi
jmp 0x40c787
inc edx
jmp 0x40c9d1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4 + 4]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.0047366c
jmp 0x450abb
mov eax, dword [esi + ecx*4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.0047366c
jmp 0x450abb
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x4506c7
cmp ecx, edx
je 0x40c0bb
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push eax
lea ecx, [esp + 0x4c]
call fcn.004671f0
lea ecx, [esp + 0x70]
call fcn.0040cfb0
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], 1
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], esi
call fcn.00467169
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push eax
push dword [ecx + edi*4 - 4]
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
push eax
mov dword [esp + 0x40], edi
call fcn.0040ec50
test eax, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jns 0x4506d4
jmp 0x450abb
cmp esi, 1
mov esi, dword [esp + 0xc]
jne 0x40c0bf
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00485819
test eax, eax
jne 0x450770
lea ecx, [esp + 0x48]
call fcn.004670cc
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x450743
mov byte [esp + 0x17], 0
mov esi, eax
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x4c]
call fcn.004671f0
sub esi, 1
jne 0x450703
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jmp 0x40c0bb
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
jmp 0x40c0bf
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
jmp 0x40c0bf
mov dword [esp + 0x4c], 0
jmp 0x40c0f8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4507ab
push eax
lea ecx, [esp + 0x4c]
call fcn.0040af9a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4507bc
push eax
lea ecx, [esp + 0x4c]
call fcn.0040af9a
cmp byte [esi + 0x10], 0
jne 0x4507cf
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4507cf
push ecx
call fcn.0041aaa0
mov ecx, esi
call fcn.0040989f
push 0x20
push esi
call fcn.0041fe1d
add esp, 8
jmp 0x40c113
mov eax, dword [ecx + edx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x4507fa
cmp eax, 0x1e
jne 0x4507fb
mov ebx, 0x100
inc esi
mov eax, dword [ecx + esi*4]
lea edx, [esi*4]
cmp word [eax + 8], 0
je 0x4507e6
mov dword [esp + 0x2c], esi
jmp 0x40c411
inc esi
jmp 0x40c944
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x450827
mov edx, dword [eax]
jmp 0x450829
xor edx, edx
mov esi, dword [esp + 0x2c]
or ebx, 0x200
push 1
push ebx
push edx
mov eax, dword [ecx + esi*4]
push dword [eax]
call fcn.0046f12c
test al, al
je 0x450989
mov esi, dword [esp + 0x10]
jmp 0x40c653
mov al, 1
jmp 0x40c4a9
push ebx
push edx
push edi
mov ecx, 0x4d2370
call fcn.0040a9a3
mov esi, dword [esp + 0x10]
jmp 0x40c653
mov eax, dword [0x4d2384]
mov esi, dword [eax + 8]
jmp 0x40c4c3
mov ecx, dword [esi]
test ecx, ecx
je 0x40c4d6
push dword [esp + 0x3c]
mov ecx, dword [ecx + 0x14]
call fcn.0040acfb
mov esi, dword [esp + 0x10]
jmp 0x40c653
mov al, 1
jmp 0x40c531
lea eax, [edx - 1]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
inc dword [eax]
jmp 0x40c569
xor al, al
jmp 0x40c54d
test ecx, ecx
jne 0x4508d6
mov ecx, 8
jmp 0x4508dc
add ecx, 7
and ecx, 0xfffffff8
push dword [ebx]
mov dword [ebx + 8], ecx
call fcn.0041fe64
mov eax, dword [ebx + 8]
xor ecx, ecx
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe5b
add esp, 4
mov dword [ebx], eax
xor ecx, ecx
mov word [eax + esi*2], cx
mov esi, dword [ebx + 4]
jmp 0x40c555
test edx, edx
jne 0x40c9e2
test edi, edi
jne 0x40c639
jmp 0x40c5d6
mov ebx, dword [esp + 0x28]
jmp 0x40c649
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea eax, [edi + 2]
mov dword [esp + 0x48], eax
lea eax, [esi + edi]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x40]
call fcn.0040ec50
test eax, eax
js 0x450abb
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push 1
or ebx, 0x200
push ebx
mov eax, dword [eax + 4]
push ecx
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.0040a82b
jmp 0x40c653
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x79
call fcn.0047366c
jmp 0x450abb
mov ecx, dword [edi + 8]
lea eax, [esp + 0x88]
push eax
call fcn.004732d9
mov byte [edi + 0xd], 0
jmp 0x40c1ee
mov ecx, esi
call fcn.00402846
cmp ebx, dword [esi]
jb 0x4509c1
jmp 0x40c219
mov eax, dword [edi + 0x38]
jmp 0x40c23a
mov edi, dword [edi + 0x38]
jmp 0x40c252
cmp dword [edi + 0xc], 4
jne 0x40c263
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x40c272
push eax
call fcn.0040a8d7
jmp 0x40c272
mov esi, dword [eax + 0x38]
jmp 0x40c289
test cl, cl
je 0x450a15
mov ebx, dword [eax + 0x38]
jmp 0x450a17
mov ebx, eax
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0xc]
jmp 0x40c293
mov esi, dword [eax + 0x38]
jmp 0x40c29d
test cl, cl
je 0x450a3d
mov eax, dword [eax + 0x38]
add eax, 0x20
lea ecx, [esp + 0xa8]
push eax
call fcn.0040acfb
mov eax, dword [esp + 0x9c]
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
jmp 0x40c2a7
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x450a6f
push ecx
call fcn.004019e3
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
jmp 0x40c2b8
mov al, 1
jmp 0x40c2ef
mov ecx, dword [ecx + 0x38]
jmp 0x40c309
mov ecx, dword [ecx + 0x38]
jmp 0x40c31d
mov ecx, dword [ecx + 0x38]
jmp 0x40c335
mov eax, dword [eax + 0x38]
jmp 0x40c352
test bl, bl
jne 0x450ab5
push dword [esp + 0x18]
mov ecx, esi
push 0x70
call fcn.0047366c
jmp 0x450abb
mov eax, dword [ebp + 0x10]
add dword [eax], 0xfffffffe
or ebx, 0xffffffff
mov dword [esp + 0x18], ebx
jmp 0x40c38b
mov eax, dword [esi]
test eax, eax
je case.0x40ca03.6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x10
push dword [esi]
jmp 0x40ca1e
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041fe64
add esp, 4
push 8
push dword [esi]
jmp 0x40ca1e
mov ecx, dword [esi]
test ecx, ecx
je case.0x40ca03.6
push ecx
call fcn.0045fe2a
jmp case.0x40ca03.6
mov ebx, dword [esi]
test ebx, ebx
je case.0x40ca03.6
mov ecx, ebx
call fcn.0040989f
push 0x14
jmp 0x40ca1d