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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008fb41
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [eax + 4]
push ebx
push esi
test eax, eax
push edi
mov esi, ecx
je 0x10051cfe
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test ecx, ecx
jne 0x10051d0d
mov ecx, edx
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 4]
test eax, eax
je 0x10051d1e
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
test eax, eax
jne 0x10051d27
mov eax, edx
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
mov edi, 0x10094500
test eax, eax
sete byte [esp + 0xf]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
mov eax, dword [esi + 4]
mov byte [esp + 0xa0], 1
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
je 0x1005222e
mov bl, 2
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
call fcn.1005ab10
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa0], bl
test eax, eax
je 0x10052054
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10052054
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10051dcd
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10051e8c
lea ecx, [esp + 0x5c]
call fcn.1003a840
mov esi, dword [esp + 0xa8]
mov byte [esp + 0xa0], 3
mov eax, dword [esi + 4]
test eax, eax
je 0x10051def
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x10051dfe
mov eax, edx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10051e09
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x10051e12
mov ecx, edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x10051edd
mov al, byte [esp + 0xf]
test al, al
je 0x10051e53
mov eax, dword [esi + 4]
test eax, eax
je 0x10051e37
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10051e42
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x24]
add ecx, 0x24
add eax, 0x24
push eax
call dword [edx + 8]
test al, al
je 0x10051ec7
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], bl
call fcn.1003a860
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.1004ea70
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.100507f0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10051e9f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10052032
lea ecx, [esp + 0x40]
call fcn.1003a840
mov esi, dword [esp + 0xac]
mov byte [esp + 0xa0], 4
mov eax, dword [esi + 4]
test eax, eax
jne 0x10051f8e
jmp 0x10051f91
mov eax, dword [esi + 4]
test eax, eax
je 0x10051ed1
mov eax, dword [eax + 8]
lea ecx, [eax + 0x40]
call fcn.100768d0
test eax, eax
jne 0x10051eef
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], bl
call fcn.1003a860
jmp 0x10051e8c
mov eax, dword [esi + 4]
test eax, eax
jne 0x10051efa
xor ecx, ecx
jmp 0x10051efd
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x44]
test eax, eax
je 0x10051f07
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x48]
cmp esi, edi
je 0x10051f5a
mov eax, dword [esi + 4]
test eax, eax
je 0x10051f53
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10051f53
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [eax + 8]
call fcn.10068a10
push eax
lea ecx, [esp + 0x60]
call fcn.1003a8d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10051f41
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x24]
lea eax, [esp + 0x5c]
push eax
call dword [edx + 8]
test al, al
jne 0x10051f74
add esi, 0x10
cmp esi, edi
jne 0x10051f0e
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], bl
call fcn.1003a860
mov edi, 0x10094500
jmp 0x10051e8c
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], bl
call fcn.1003a860
mov edi, 0x10094500
jmp 0x10051e63
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x10051fa0
mov eax, edx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10051fab
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x10051fb4
mov ecx, edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x1005209b
mov al, byte [esp + 0xf]
test al, al
je 0x10051ff9
mov eax, dword [esi + 4]
test eax, eax
je 0x10051fd9
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10051fe4
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x24]
add ecx, 0x24
add eax, 0x24
push eax
call dword [edx + 8]
test al, al
je 0x10052085
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], bl
call fcn.1003a860
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.1004ea70
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edi
call fcn.100507f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10052054
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10052054
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10052054
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10052149
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 1
mov dword [esp + 0x10], edi
call fcn.100507f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, 8
cmp ecx, eax
mov dword [esp + 0x28], eax
jne 0x10051d84
jmp 0x1005215e
mov eax, dword [esi + 4]
test eax, eax
je 0x1005208f
mov eax, dword [eax + 8]
lea ecx, [eax + 0x40]
call fcn.100768d0
test eax, eax
jne 0x100520ad
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], bl
call fcn.1003a860
jmp 0x10052032
mov eax, dword [esi + 4]
test eax, eax
jne 0x100520b8
xor ecx, ecx
jmp 0x100520bb
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x44]
test eax, eax
je 0x100520c5
mov eax, dword [eax + 8]
mov edi, dword [eax + 0x48]
cmp esi, edi
je 0x10052115
mov eax, dword [esi + 4]
test eax, eax
je 0x1005210e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1005210e
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
call fcn.10068a10
push eax
lea ecx, [esp + 0x44]
call fcn.1003a8d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100520fc
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x24]
lea eax, [esp + 0x40]
push eax
call dword [edx + 8]
test al, al
jne 0x1005212f
add esi, 0x10
cmp esi, edi
jne 0x100520cc
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], bl
call fcn.1003a860
mov edi, 0x10094500
jmp 0x10052032
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], bl
call fcn.1003a860
mov edi, 0x10094500
jmp 0x10052009
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 1
mov dword [esp + 0x10], edi
call fcn.100507f0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x100521f2
mov eax, dword [eax + 8]
test eax, eax
je 0x100521f2
test edx, edx
je 0x100521ba
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x100521ba
push eax
call fcn.10045ea0
lea ecx, [esp + 0x20]
mov bl, al
mov byte [esp + 0xa0], 0
mov dword [esp + 0x20], edi
call fcn.100507f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x18], edi
call fcn.100507f0
jmp 0x100522ab
test eax, eax
je 0x100521f2
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0
mov dword [esp + 0x20], edi
call fcn.100507f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x18], edi
call fcn.100507f0
xor al, al
jmp 0x100522ad
test edx, edx
je 0x1005222e
mov eax, dword [edx + 8]
test eax, eax
je 0x1005222e
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0
mov dword [esp + 0x20], edi
call fcn.100507f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x18], edi
call fcn.100507f0
mov al, 1
jmp 0x100522ad
mov eax, dword [esp + 0xa8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10052240
xor edx, edx
jmp 0x10052243
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x10052255
xor ecx, ecx
jmp 0x10052258
mov ecx, dword [eax + 8]
push edx
call fcn.10045ea0
mov ecx, dword [esp + 0x24]
mov bl, al
test ecx, ecx
mov byte [esp + 0xa0], 0
mov dword [esp + 0x20], edi
je 0x10052279
call fcn.100511f0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0xffffffff
test eax, eax
mov dword [esp + 0x18], edi
je 0x100522ab
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100522ab
mov ecx, esi
call fcn.100515d0
mov ecx, esi
call fcn.10052ec0
mov al, bl
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 8