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

Disassembly:
push 0xffffffffffffffff
push 0x100ac3dc
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d8dd0]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
fld dword [0x100bb3a8]
fst dword [esp + 0x5c]
mov esi, 0xa
fld dword [0x100bb3a4]
lea ecx, [esp + 0x50]
fst dword [esp + 0x60]
mov dword [esp + 0x50], ebp
fld dword [0x100bb3a0]
mov dword [esp + 0x54], ebp
fst dword [esp + 0x64]
mov dword [esp + 0x58], 0x11
fxch st(2)
mov dword [esp + 0x68], 0xffffffff
fstp dword [esp + 0x5c]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
fstp dword [esp + 0x60]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
fstp dword [esp + 0x64]
mov dword [esp + 0x7c], ebp
call fcn.10051870
mov dword [esp + 0x10c], ebp
lea eax, [esp + 0xd0]
push eax
call fcn.100507f0
mov byte [esp + 0x10c], 1
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
mov byte [esp + 0x10c], 2
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x98]
lea eax, [esp + 0xb0]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x120]
push eax
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x11c]
push ecx
push edx
mov dword [esp + 0xbc], vtable.CAtlListBuilder_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___class_ATL::CAtlList_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___.0
mov dword [esp + 0xc0], ebp
call fcn.1005c6b0
mov eax, dword [esp + 0xa4]
add esp, 0xc
mov dword [esp + 0x34], eax
cmp eax, ebp
je 0x100500cf
mov ecx, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x10050211
mov eax, ecx
mov ecx, dword [ecx]
lea esi, [eax + 8]
push esi
mov dword [esp + 0x38], ecx
call fcn.1005c690
mov edx, dword [0x100e16bc]
mov edi, eax
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x100e16bc
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x10c], 4
mov edx, dword [0x100e16bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x100e16bc
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x10c], 6
mov edx, dword [0x100e16bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x100e16bc
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x30], ebp
mov byte [esp + 0x10c], 8
mov edx, dword [0x100e16bc]
mov eax, dword [edx + 0xc]
mov ecx, 0x100e16bc
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x10c], 0xa
cmp edi, 1
jb 0x1005002b
push 0
push esi
call fcn.1005c660
xor edx, edx
mov ebx, eax
div dword [esp + 0x60]
add esp, 8
cmp dword [esp + 0x50], 0
mov dword [esp + 0x40], ebx
je 0x1004fce4
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1004fce4
nop
cmp dword [eax + 0xc], ebx
jne 0x1004fcdd
cmp dword [eax], ebx
je 0x1004feaa
mov eax, dword [eax + 8]
test eax, eax
jne 0x1004fcd0
cmp edi, 2
jb 0x1004fd1c
push 2
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.1005c510
add esp, 0xc
mov byte [esp + 0x10c], 0x13
push eax
lea ecx, [esp + 0x28]
call fcn.1001a720
mov byte [esp + 0x10c], 0xa
lea ecx, [esp + 0x3c]
call fcn.10001df0
cmp edi, 4
jb 0x1004fd58
push 4
lea edx, [esp + 0x4c]
push esi
push edx
call fcn.1005c510
add esp, 0xc
mov byte [esp + 0x10c], 0x14
push eax
lea ecx, [esp + 0x34]
call fcn.1001a720
mov byte [esp + 0x10c], 0xa
lea ecx, [esp + 0x48]
call fcn.10001df0
mov ebp, dword [esp + 0x30]
cmp edi, 5
jb 0x1004fd68
push 5
push esi
call fcn.1005c660
add esp, 8
cmp edi, 6
jb 0x1004fda0
push 6
lea eax, [esp + 0x50]
push esi
push eax
call fcn.1005c510
add esp, 0xc
mov byte [esp + 0x10c], 0x15
push eax
lea ecx, [esp + 0x20]
call fcn.1001a720
mov byte [esp + 0x10c], 0xa
lea ecx, [esp + 0x4c]
call fcn.10001df0
mov ecx, dword [esp + 0x11c]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10001d00
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x10c], 0x18
cmp dword [ebp - 0xc], 0
je 0x1004fe04
lea eax, [ebp - 0x10]
push eax
call fcn.10001d00
add eax, 0x10
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x10c], 0x1b
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
call fcn.10051ca0
mov byte [esp + 0x10c], 0x18
lea ecx, [esp + 0x38]
call fcn.10001df0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.100509c0
mov edx, dword [esp + 0x24]
cmp dword [edx - 0xc], 0
je 0x1004ff8d
mov eax, dword [esp + 0x114]
cmp byte [eax + 0x34], 0
je 0x1004ff8d
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.10051dc0
mov byte [esp + 0x10c], 0x1d
lea ecx, [esp + 0x20]
call fcn.10057920
test al, al
je 0x1004ff23
lea ecx, [esp + 0x20]
call fcn.10057900
shr eax, 4
not al
test al, 1
je 0x1004ff23
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
call fcn.10059e20
mov byte [esp + 0x10c], 0x1e
mov eax, dword [eax]
or dword [esp + 0x2c], 1
push str..CAB
push eax
call fcn.1007f052
add esp, 8
test eax, eax
jne 0x1004ff23
mov bl, 1
jmp 0x1004ff25
mov byte [esp + 0x10c], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004fed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 6
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004fef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ff1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10050097
xor bl, bl
mov dword [esp + 0x10c], 0x1d
test byte [esp + 0x2c], 1
je 0x1004ff45
and dword [esp + 0x2c], 0xfffffffe
lea ecx, [esp + 0x44]
call fcn.10001df0
test bl, bl
je 0x1004ff7c
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xd0]
push edx
call fcn.10050b10
mov esi, dword [esp + 0x114]
push esi
lea ecx, [esp + 0x24]
call fcn.1004f320
test al, al
jne 0x1004ff7c
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x18
lea ecx, [esp + 0x20]
call fcn.10001df0
mov byte [esp + 0x10c], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ffb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ffdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 6
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10050097
mov byte [esp + 0x10c], 8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005004f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 6
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 4
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100500bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], 0
jne 0x1004fbf8
xor ebp, ebp
lea esi, [ebp + 0xa]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
mov byte [esp + 0x10c], 0x26
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x80]
lea eax, [esp + 0xc0]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x124]
push eax
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x11c]
push ecx
push edx
mov dword [esp + 0xcc], vtable.CAtlListBuilder_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___class_ATL::CAtlList_struct__INFCONTEXT__class_ATL::CElementTraits_struct__INFCONTEXT___.0
mov dword [esp + 0xd0], ebp
call fcn.1005c6b0
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov ebx, eax
cmp eax, ebp
je 0x1005075f
xor eax, eax
cmp ebx, ebp
setne al
cmp eax, ebp
je 0x100507cd
mov eax, ebx
mov ebx, dword [ebx]
lea esi, [eax + 8]
push esi
mov dword [esp + 0x44], ebx
call fcn.1005c690
mov edi, eax
mov eax, dword [0x100e16bc]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x100e16bc
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x10c], 0x28
cmp edi, 1
jb 0x1005072f
push ebp
lea eax, [esp + 0x48]
push esi
push eax
call fcn.1005c510
add esp, 0xc
mov byte [esp + 0x10c], 0x29
mov ecx, dword [eax]
mov edi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x10050237
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x10050227
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x10050227
push eax
call fcn.10001d00
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x10050204
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x40]
jmp 0x10050235
push 0
push 0x514
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.10001ed0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.10001970
xor ebp, ebp
mov byte [esp + 0x10c], 0x28
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005025f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push esi
call fcn.1005c660
mov edx, dword [0x100e16bc]
mov edi, eax
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x100e16bc
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x10c], 0x2e
xor edx, edx
mov eax, edi
div dword [esp + 0x58]
cmp dword [esp + 0x50], ebp
je 0x100502b8
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + edx*4]
cmp eax, ebp
je 0x100502b8
cmp dword [eax + 0xc], edi
jne 0x100502b1
cmp dword [eax], edi
je 0x100503b9
mov eax, dword [eax + 8]
cmp eax, ebp
jne 0x100502a4
mov edx, dword [esp + 0x11c]
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.10001d00
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x4c], esi
mov byte [esp + 0x10c], 0x31
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
call fcn.1001a720
mov byte [esp + 0x10c], 0x2e
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005030e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.10051dc0
mov byte [esp + 0x10c], 0x34
mov esi, dword [esp + 0x114]
cmp byte [esi + 0x34], 0
lea ecx, [esp + 0x18]
jne 0x100503cb
push esi
call fcn.1004f320
test al, al
jne 0x10050356
mov edx, dword [esi]
mov edx, dword [edx]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x2e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005038c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x28
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100503b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1005072f
add eax, 4
push eax
lea ecx, [esp + 0x28]
call fcn.1001a720
jmp 0x1005030e
call fcn.10057920
test al, al
je 0x10050425
lea ecx, [esp + 0x18]
call fcn.10057900
shr eax, 4
not al
test al, 1
je 0x10050425
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
push esi
lea ecx, [esp + 0x1c]
call fcn.1004f320
test al, al
jne 0x1005040f
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x2e
lea ecx, [esp + 0x18]
call fcn.10001df0
jmp 0x100506c8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.10001d00
add eax, 0x10
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x10c], 0x3e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
call fcn.10059e20
mov byte [esp + 0x10c], 0x40
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005047a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
cmp eax, 3
jle 0x100504bc
push 3
push ebp
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x34]
call fcn.10015380
mov byte [esp + 0x10c], 0x43
push eax
lea ecx, [esp + 0x2c]
call fcn.1001a720
mov byte [esp + 0x10c], 0x40
lea ecx, [esp + 0x48]
call fcn.10001df0
jmp 0x100504d1
cmp eax, 1
jge 0x100504d1
push 1
push 0x100b9648
lea ecx, [esp + 0x30]
call fcn.10001970
push 1
push 0x100b8034
lea ecx, [esp + 0x30]
call fcn.10051ae0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
push eax
call fcn.10001d00
add eax, 0x10
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x10c], 0x46
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
call fcn.10059ed0
mov byte [esp + 0x10c], 0x47
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.10051dc0
mov byte [esp + 0x10c], 0x48
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.10051bf0
mov byte [esp + 0x10c], 0x4a
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x4d
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1005058e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x4f
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100505b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
call fcn.10057920
test al, al
je 0x1005063b
lea ecx, [esp + 0x20]
call fcn.10057900
shr eax, 4
not al
test al, 1
je 0x1005063b
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
push esi
lea ecx, [esp + 0x24]
call fcn.1004f320
test al, al
jne 0x10050603
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x40
lea ecx, [esp + 0x20]
call fcn.10001df0
mov byte [esp + 0x10c], 0x34
lea ecx, [esp + 0x28]
call fcn.10001df0
mov byte [esp + 0x10c], 0x2e
lea ecx, [esp + 0x18]
call fcn.10001df0
jmp 0x100506c8
xor edx, edx
mov eax, edi
div dword [esp + 0xd8]
mov eax, dword [esp + 0xd0]
cmp eax, ebp
je 0x1005066c
mov eax, dword [eax + edx*4]
cmp eax, ebp
je 0x1005066c
cmp dword [eax + 0xc], edi
jne 0x10050665
cmp dword [eax], edi
je 0x100506ec
mov eax, dword [eax + 8]
cmp eax, ebp
jne 0x10050658
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
push esi
lea ecx, [esp + 0x1c]
call fcn.1004f320
test al, al
jne 0x10050695
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x40
lea ecx, [esp + 0x20]
call fcn.10001df0
mov byte [esp + 0x10c], 0x34
lea ecx, [esp + 0x28]
call fcn.10001df0
mov byte [esp + 0x10c], 0x2e
lea ecx, [esp + 0x18]
call fcn.10001df0
mov byte [esp + 0x10c], 0x28
lea ecx, [esp + 0x24]
call fcn.10001df0
mov byte [esp + 0x10c], 0x26
lea ecx, [esp + 0x1c]
call fcn.10001df0
jmp 0x10050757
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0x10c], 0x40
lea ecx, [esp + 0x20]
call fcn.10001df0
mov byte [esp + 0x10c], 0x34
lea ecx, [esp + 0x28]
call fcn.10001df0
mov byte [esp + 0x10c], 0x2e
lea ecx, [esp + 0x18]
call fcn.10001df0
jmp 0x100506c8
mov byte [esp + 0x10c], 0x26
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10050757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, ebp
jne 0x10050160
mov byte [esp + 0x10c], 2
lea ecx, [esp + 0x80]
call fcn.10050c60
mov byte [esp + 0x10c], 1
lea ecx, [esp + 0x98]
call fcn.10050c60
mov byte [esp + 0x10c], 0
lea ecx, [esp + 0xd0]
push ecx
call fcn.10050bf0
mov dword [esp + 0x10c], 0xffffffff
lea edx, [esp + 0x50]
push edx
call fcn.10050aa0
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0x14
push ebp
push 0x514
push str.c:dvsp4_build_sw_toolswin32msvc90VC_atlmfcinclude_atlcoll.h
push 0x80004005
call fcn.10001ed0
int3