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

Disassembly:
push 0xffffffffffffffff
push 0x1006629e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007c060]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
push eax
call fcn.1002a1c2
mov ebp, eax
xor esi, esi
cmp ebp, esi
je 0x1000240f
push 0x10080418
mov dword [esp + 0x1c], 0x10080418
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x9c], esi
mov ecx, dword [0x10080c88]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x10080c70
call fcn.10004760
mov eax, dword [0x10080c88]
mov dword [eax + 4], eax
mov eax, dword [0x10080c88]
mov dword [0x10080c8c], esi
mov dword [eax], eax
mov eax, dword [0x10080c88]
sub esp, 0x18
mov dword [eax + 8], eax
mov dword [esp + 0x34], esp
mov eax, esp
je 0x100020cf
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax], 0x1006abc0
mov dword [eax + 4], fcn.10001430
mov dword [eax + 0x10], eax
lea eax, [esp + 0x8c]
push eax
mov ecx, ebp
mov byte [esp + 0xb8], 1
call fcn.1002a2a8
add esp, 4
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0xb8], 2
call fcn.10008210
add esp, 4
mov byte [esp + 0xb4], 3
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0xb8], 5
call fcn.100082b0
add esp, 0x1c
push 0x10080c90
mov ebx, eax
mov byte [esp + 0xa0], 6
call fcn.100033c0
mov eax, dword [esp + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x1000215e
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push ecx
call fcn.10009360
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.1004a7e9
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.1004a7e9
mov eax, dword [esp + 0x4c]
add esp, 4
cmp eax, ebx
je 0x1000219d
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.10009440
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call fcn.1004a7e9
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.1004a7e9
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xa0], bl
call fcn.10005460
mov edx, dword [esp + 0x88]
push edx
call fcn.1004a7e9
mov eax, dword [esp + 0x78]
add esp, 4
push eax
mov dword [esp + 0x8c], ebx
call fcn.1004a7e9
add esp, 4
mov edi, 7
xor ecx, ecx
push edi
mov eax, 0x1006aa04
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
call fcn.10004f40
mov byte [esp + 0x9c], 7
push 1
mov esi, 0xf
push 0x1006a9dc
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
call fcn.10004c30
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
push ebp
push ecx
mov byte [esp + 0xac], 8
call fcn.10001f70
add esp, 0x10
cmp dword [esp + 0x54], 0x10
jb 0x1000226c
mov edx, dword [esp + 0x40]
push edx
call fcn.1004a7e9
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
mov byte [esp + 0x9c], 0xb
cmp dword [esp + 0x38], 8
jb 0x10002295
mov eax, dword [esp + 0x24]
push eax
call fcn.1004a7e9
add esp, 4
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov ebx, dword [edx]
mov dword [esp + 0x38], edi
mov word [esp + 0x24], cx
mov edi, edi
mov esi, dword [esp + 0x6c]
test ebp, ebp
je 0x100022be
cmp ebp, dword [esp + 0x58]
je 0x100022c3
call fcn.1004a7af
cmp ebx, esi
je 0x1000236f
test ebp, ebp
jne 0x1000235d
call fcn.1004a7af
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x100022e4
call fcn.1004a7af
lea edi, [ebx + 8]
lea eax, [esp + 0x74]
push edi
push eax
call fcn.100014b0
add esp, 8
mov esi, eax
mov byte [esp + 0x9c], 0xc
test ebp, ebp
jne 0x10002365
call fcn.1004a7af
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x10002314
call fcn.1004a7af
mov ecx, esi
call fcn.100036b0
mov esi, eax
call fcn.10002440
mov byte [esp + 0x9c], 0xb
cmp dword [esp + 0x8c], 0x10
jb 0x10002341
mov ecx, dword [esp + 0x78]
push ecx
call fcn.1004a7e9
add esp, 4
test ebp, ebp
jne 0x1000236a
call fcn.1004a7af
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x10002356
call fcn.1004a7af
mov ebx, dword [ebx]
jmp 0x100022b0
mov eax, dword [ebp]
jmp 0x100022da
mov eax, dword [ebp]
jmp 0x1000230a
mov eax, dword [ebp]
jmp 0x1000234c
mov ecx, dword [0x10080ca0]
sub ecx, dword [0x10080c9c]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [0x10080c8c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push str._d_app_and__d_white_path_loaded_from_das
call fcn.10023eb9
mov eax, dword [esp + 0x78]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x78]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x70], 0
cmp edi, eax
je 0x100023df
mov ebx, dword [edi]
lea esi, [edi + 8]
call fcn.10003ad0
push edi
call fcn.1004a7e9
mov eax, dword [esp + 0x70]
add esp, 4
mov edi, ebx
cmp ebx, eax
jne 0x100023c2
push eax
call fcn.1004a7e9
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
mov dword [esp + 0x70], 0
call fcn.1004a7e9
add esp, 4
push 0x10080418
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x10002425
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.open_das_failed__error:__d
call fcn.10024175
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret