Function at 0x58f9a0
Capabilities:
Print debug messages

Disassembly:
push 8
push 0x258
mov eax, 0x60b7ed
call fcn.005f9b04
mov edi, ecx
mov dword [ebp - 0x240], edi
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x248]
push 0x67476c
mov dword [ebp - 0x224], eax
call fcn.0040d2ee
and dword [ebp - 4], 0
mov esi, str.AddIn
push esi
call fcn.00505bb3
pop ecx
push esi
push eax
lea ecx, [ebp - 0x248]
call fcn.0040f454
mov edx, dword [ebp - 0x248]
push ecx
call fcn.005d56bf
mov esi, eax
test esi, esi
jns 0x58fa20
call fcn.005c7ef9
push 0x10
push dword [0x674764]
push str.Sound_Library_init_failed__the_player_can_not_run_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x5900c1
push 0x6361f8
push dword [0x6737f8]
call fcn.005073b0
pop ecx
pop ecx
test eax, eax
jne 0x58fa40
mov ecx, 0x673610
call fcn.00545def
mov eax, dword [0x673df4]
cmp dword [eax - 8], 0
je 0x58fa51
push eax
call fcn.0056107a
cmp dword [0x673dfc], 0
je 0x58fa65
push ecx
push 0x673df8
call fcn.005612e8
push 0x63a14c
push ecx
lea eax, [ebp - 0x220]
push eax
call fcn.004138b3
lea eax, [ebp - 0x220]
push eax
call fcn.0044fee6
push dword [0x673cb0]
mov ecx, 0x668e30
call fcn.005c11aa
cmp dword [0x673c90], 0
je 0x58faf6
push 0x67476c
lea ecx, [ebp - 0x230]
call fcn.0040d2ee
push 0x63a154
mov edx, eax
lea ecx, [ebp - 0x22c]
call fcn.0040ce1d
mov byte [ebp - 4], 2
push dword [eax]
call fcn.005c09ea
mov ecx, dword [ebp - 0x22c]
mov esi, 0x668010
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58fae0
call fcn.00407965
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58faf6
call fcn.00407965
lea eax, [edi + 0x3a18]
mov ecx, eax
mov dword [ebp - 0x238], eax
call fcn.005a4803
lea ecx, [edi + 0x4040]
call fcn.005499f4
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x58fc07
push dword [eax]
lea ecx, [ebp - 0x230]
call fcn.0040d2ee
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.005900e4
mov ecx, dword [0x673bdc]
xor eax, eax
mov esi, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x228], eax
test ecx, ecx
je 0x58fb7c
cmp dword [esi - 8], 0
je 0x58fb6a
mov ecx, 0x673c98
call fcn.0040d291
xor eax, eax
inc eax
push eax
lea ecx, [edi + 0x3a18]
call fcn.005a55f9
mov ecx, dword [0x673bdc]
cmp dword [esi - 8], 0
jne 0x58ffef
mov eax, dword [0x673824]
xor edx, edx
cmp dword [0x6731e8], edx
cmovne eax, edx
mov dword [ebp - 0x22c], eax
test ecx, ecx
je 0x58ffcb
mov eax, dword [0x673740]
cmp dword [eax - 8], edx
je 0x58fbf3
push 0xfffffffffffffffe
push 0x673740
lea eax, [ebp - 0x224]
mov ecx, 0x668e34
push eax
call fcn.00422daa
mov byte [ebp - 4], 4
push dword [ebp - 0x22c]
mov edi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x238]
push edi
call fcn.005a5401
test edi, edi
je 0x58fbed
mov ecx, edi
call fcn.00416ed3
mov edi, dword [ebp - 0x240]
lea ecx, [esi - 0xc]
mov byte [ebp - 4], 0
cmp ecx, 0x668010
je 0x58fc07
call fcn.00407965
call fcn.005899a0
cmp dword [0x673c9c], 0
je 0x58fc1c
mov ecx, edi
call fcn.00589e9d
mov ecx, edi
call fcn.00589e1b
call fcn.00457844
push 0
push ecx
call fcn.00457824
lea ecx, [edi + 0x680]
call fcn.004555fa
mov ecx, edi
call fcn.00589e7d
mov ecx, edi
call fcn.00589cba
push 0x67476c
lea ecx, [ebp - 0x22c]
call fcn.0040d2ee
mov esi, str.APKMgr
push esi
call fcn.00505bb3
pop ecx
push esi
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040f454
mov eax, dword [0x668294]
mov esi, str.ApkMgr.dll
push esi
mov dword [ebp - 0x230], eax
call fcn.00505bb3
mov edi, dword [ebp - 0x22c]
pop ecx
push esi
push eax
push edi
push dword [edi - 8]
lea ecx, [ebp - 0x230]
call fcn.0040f4c7
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x240]
mov dword [ecx + 0x63ac], eax
test eax, eax
je 0x590093
push str.CreateAPKMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x590093
mov ecx, dword [0x668294]
mov esi, str._aapt.exe
push esi
mov dword [ebp - 0x224], ecx
call fcn.00505bb3
pop ecx
push esi
push eax
push edi
push dword [edi - 8]
lea ecx, [ebp - 0x224]
call fcn.0040f4c7
mov esi, dword [ebp - 0x224]
lea ecx, [ebp - 0x224]
push 0
mov edx, esi
call fcn.00407a7f
pop ecx
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x58fd29
call fcn.00407965
mov eax, dword [0x668294]
mov esi, str._adb.exe
push esi
mov dword [ebp - 0x228], eax
call fcn.00505bb3
pop ecx
push esi
push eax
push edi
push dword [edi - 8]
lea ecx, [ebp - 0x228]
call fcn.0040f4c7
mov esi, dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
push 0
mov edx, esi
call fcn.00407a7f
pop ecx
lea ecx, [esi - 0xc]
mov esi, 0x668010
cmp ecx, esi
je 0x58fd78
call fcn.00407965
push 0
mov edx, edi
lea ecx, [ebp - 0x238]
call fcn.00407a7f
pop ecx
mov eax, dword [0x668294]
mov dword [ebp - 0x23c], eax
push 0
push 0
push 6
lea eax, [ebp - 0x23c]
push 0x636344
push eax
call fcn.0042ef7b
add esp, 0x14
lea ecx, [ebp - 0x234]
call fcn.005c99ad
push 0
lea ecx, [ebp - 0x244]
mov edx, dword [eax]
call fcn.00407a7f
pop ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58fdda
call fcn.00407965
mov edx, dword [0x673e70]
lea ecx, [ebp - 0x234]
push 0
call fcn.00407a7f
pop ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax - 8]
mov eax, dword [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x238]
mov esi, dword [eax - 8]
mov eax, dword [ebp - 0x224]
mov eax, dword [eax - 8]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x234]
mov eax, dword [eax - 8]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x244]
mov eax, dword [eax - 8]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax - 8]
mov dword [ebp - 0x25c], eax
call fcn.0040cccd
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.0040cccd
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x224]
call fcn.0040cccd
push eax
push dword [ebp - 0x254]
lea ecx, [ebp - 0x234]
call fcn.0040cccd
push eax
push dword [ebp - 0x258]
lea ecx, [ebp - 0x244]
call fcn.0040cccd
push eax
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x23c]
call fcn.0040cccd
push eax
call dword [ebp - 0x24c]
or esi, 0xffffffff
mov dword [0x6731ec], eax
push esi
lea ecx, [ebp - 0x23c]
call fcn.0040cc99
push esi
lea ecx, [ebp - 0x244]
call fcn.0040cc99
push esi
lea ecx, [ebp - 0x234]
call fcn.0040cc99
push esi
lea ecx, [ebp - 0x224]
call fcn.0040cc99
push esi
lea ecx, [ebp - 0x228]
call fcn.0040cc99
push esi
lea ecx, [ebp - 0x238]
call fcn.0040cc99
push str.xfy_debug_ApkMgr.dll_has_loaded.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x63616e
lea ecx, [ebp - 0x22c]
call fcn.0041ddcb
lea ecx, [ebp - 0x22c]
call fcn.00543d50
mov ecx, dword [ebp - 0x22c]
mov esi, 0x668010
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ff35
call fcn.00407965
cmp dword [0x6731ec], 0
je 0x58ff56
mov eax, dword [ebp - 0x240]
push 0
push 0
push 0x805
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ff68
call fcn.00407965
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ff7a
call fcn.00407965
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ff8c
call fcn.00407965
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ff9e
call fcn.00407965
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x58ffb0
call fcn.00407965
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x590098
call fcn.00407965
jmp 0x590098
mov ecx, dword [edi + 0x3ba0]
test ecx, ecx
je 0x58ffda
mov ecx, dword [ecx + 0x1c]
jmp 0x58ffdd
or ecx, 0xffffffff
push eax
push ecx
lea ecx, [edi + 0x3a18]
call fcn.005a52f4
jmp 0x58fbf3
mov ecx, dword [ebp - 0x224]
push 0x63a144
call fcn.0044c4fb
test eax, eax
je 0x590008
xor ecx, ecx
inc ecx
jmp 0x590028
mov ecx, dword [ebp - 0x224]
push 0x63a148
call fcn.0044c4fb
xor ecx, ecx
test eax, eax
push 2
pop eax
cmovne ecx, eax
mov dword [ebp - 0x228], ecx
cmp dword [0x6737ec], 0
mov dword [ebp - 0x268], ecx
mov eax, dword [esi - 8]
mov dword [ebp - 0x260], esi
lea eax, [eax*2 + 2]
mov dword [ebp - 0x264], eax
je 0x590062
push 0
push 0
lea ecx, [edi + 0x3a18]
call fcn.005a5af5
mov ecx, dword [ebp - 0x228]
test ecx, ecx
jne 0x590079
cmp dword [0x6737e8], ecx
je 0x590079
lea ecx, [edi + 0x3a18]
call fcn.005a595a
lea eax, [ebp - 0x268]
push eax
push dword [edi + 4]
push 0x4a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x58fbf3
mov esi, 0x668010
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff4
cmp ecx, esi
je 0x5900aa
call fcn.00407965
lea ecx, [edi - 0xc]
mov byte [ebp - 4], 0
cmp ecx, esi
je 0x5900ba
call fcn.00407965
call fcn.005ca27a
xor esi, esi
mov ecx, dword [ebp - 0x248]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x5900d7
call fcn.00407965
mov eax, esi
mov ecx, dword [ebp - 0x14]
call fcn.005f9ae2
ret 0x10