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

Disassembly:
push 0xffffffffffffffff
push 0x522deaa
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
push 0x5298508
push sym.META_DLL.dll_META_MISC_SetIMEIValue_r
push 0x1388
push edi
mov dword [esp + 0x4c], ebx
call fcn.05165130
push esi
push ebx
push edi
test eax, eax
jne 0x515bd0a
xor ebp, ebp
mov dword [esp + 0x30], ebp
call sym.META_DLL.dll_META_UploadFilesToTarget_r
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0x4f
jne 0x515bacf
mov byte [esp + 0x17], 0
jmp 0x515badc
cmp ebx, ebp
jne 0x515bcb1
mov byte [esp + 0x17], 1
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, eax
mov ebp, dword [esi + 0xd3fc]
add esi, 0xd3f0
cmp ebp, dword [esi + 0x10]
jbe 0x515bb00
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
jmp 0x515bb10
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, eax
mov ebp, dword [esi + 0xd400]
add esi, 0xd3f0
cmp dword [esi + 0xc], ebp
jbe 0x515bb34
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
test ebx, ebx
je 0x515bb3e
cmp ebx, esi
je 0x515bb44
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x515bc37
push 0x52c722a
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x68], 1
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x515bbb1
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x515bb7c
call ebp
cmp byte [esi], 4
je 0x515bbb9
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test ebx, ebx
jne 0x515bbb5
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x515bba2
call ebp
add esi, 0x98
mov dword [esp + 0x20], esi
jmp 0x515bb10
mov eax, dword [ebx]
jmp 0x515bb75
mov eax, dword [ebx]
jmp 0x515bb9b
mov eax, dword [esp + 0x3c]
push eax
push 0x1388
call fcn.05155910
add esp, 8
push 0x52c722a
push 1
push 0x1617
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.051ae270
mov esi, eax
mov byte [esp + 0x68], 2
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push edi
push str.__d__SetIMEIToTarget__:__d_IMEI_value_written
push eax
push esi
call fcn.051ae2d0
add esp, 0x14
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov dword [esp + 0x18], 0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x515bc3b
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x17], 0
jne 0x515be65
test ebx, ebx
jne 0x515be65
push str._ERROR:
push 0xff
push 0x161f
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x68], 3
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push str.__d__META_UploadFilesToTarget_r_failed
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov dword [esp + 0x18], 0x51
jmp 0x515bebf
push str._ERROR:
push 0xff
push 0x1608
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x68], ebp
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push str.__d__META_UploadFilesToTarget_r_failed
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov eax, ebx
jmp 0x515bec3
call sym.META_DLL.dll_META_UploadFilesToTarget_r
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x515bd76
push str._ERROR:
push 0xff
push 0x162a
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x68], 4
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push str.__d__META_UploadFilesToTarget_r_failed
push eax
push ebx
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov eax, esi
jmp 0x515bec3
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, eax
mov ebp, dword [esi + 0xd3fc]
add esi, 0xd3f0
cmp ebp, dword [esi + 0x10]
jbe 0x515bd9a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi]
mov dword [esp + 0x20], ebp
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, eax
mov ebp, dword [esi + 0xd400]
add esi, 0xd3f0
cmp dword [esi + 0xc], ebp
jbe 0x515bdc4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
test ebx, ebx
je 0x515bdce
cmp ebx, esi
je 0x515bdd4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x515be6c
push 0x52c722a
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x68], 5
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x515be41
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x515be0c
call ebp
cmp byte [esi], 4
je 0x515be49
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test ebx, ebx
jne 0x515be45
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x515be32
call ebp
add esi, 0x98
mov dword [esp + 0x20], esi
jmp 0x515bda0
mov eax, dword [ebx]
jmp 0x515be05
mov eax, dword [ebx]
jmp 0x515be2b
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x515bebf
cmp dword [esp + 0x18], 0
jne 0x515bebf
push 0x52c722a
push 1
push 0x163f
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x38]
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x68], 6
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push str.__d__META_UploadFilesToTarget2_r___successful
push eax
push esi
call fcn.051ae2d0
add esp, 0x10
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.051ae2c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0520b902
add esp, 0x58
ret 0xc