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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58527a
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x28], ebp
call fcn.0053b9ed
push str.APPINI
mov ebx, 0x5f2ac0
call fcn.00472e00
test eax, eax
mov dword [esp + 0x18], eax
jl 0x42f03a
mov ecx, str.USEAPPDIR
mov esi, ebx
call fcn.00472e70
mov ebx, eax
call fcn.00409830
mov edi, eax
call fcn.004098b0
mov ebx, dword [ebx]
push str.TRUE
push ebx
call fcn.005522fc
add esp, 8
test eax, eax
jne 0x42f03a
mov dword [ebp + 0x174], 1
cmp dword [ebp + 0x174], 0
jne 0x42f0c0
lea esi, [ebp + 0x170]
push 0x5f287c
mov ecx, esi
call fcn.00402310
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x42f063
push esi
call fcn.004138c0
mov ecx, dword [0x5f2878]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42f07e
push 0x80004005
call fcn.00401f70
mov eax, dword [esi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f0a6
test dx, dx
je 0x42f0a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f0a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f080
xor eax, eax
jmp 0x42f0ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f0c0
mov ecx, esi
mov dword [ebp + 0x174], 1
call fcn.00402160
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f0da
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x94], 0
call fcn.00534906
mov edx, dword [0x5f21f0]
push edx
push 0x59dda0
lea eax, [esp + 0x1c]
push eax
call fcn.0041cd10
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00537cec
mov edx, dword [0x5f21f0]
push edx
lea eax, [esp + 0x18]
push str._WLhb
push eax
call fcn.00405480
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push 0x42d
mov ecx, ebp
call fcn.00537b72
mov ecx, eax
call fcn.00537cec
lea esi, [ebp + 0x168]
push 0x5f2254
mov ecx, esi
call fcn.00402310
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
jne 0x42f17d
push 3
push str.zzvu
mov ecx, esi
call fcn.00402250
cmp dword [esp + 0x18], 0
mov dword [ebp + 0x178], 1
jl 0x42f1fb
mov eax, dword [esp + 0x18]
mov ecx, str.MUSICFUNC
mov esi, 0x5f2ac0
call fcn.00472e70
mov ebx, eax
call fcn.00409830
mov edi, eax
call fcn.004098b0
mov eax, dword [ebx]
push 0x595c28
push eax
call fcn.005522fc
add esp, 8
test eax, eax
jne 0x42f1c9
mov dword [ebp + 0x178], eax
mov ebx, dword [ebx]
push str.hide
push ebx
call fcn.005522fc
add esp, 8
test eax, eax
jne 0x42f1fb
push eax
push 0x42e
mov ecx, ebp
call fcn.00537b72
mov ecx, eax
call fcn.00537d86
mov dword [ebp + 0x178], 0
mov eax, dword [0x5f2adc]
cmp dword [eax - 0xc], 0
jne 0x42f225
push 0
push 0x42c
mov ecx, ebp
mov dword [ebp + 0x164], 0
call fcn.00537b72
mov ecx, eax
call fcn.00537d86
push 0
mov ecx, ebp
call fcn.005331cf
mov ecx, ebp
call fcn.0042fb20
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f24f
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
push 0x75
lea ecx, [esp + 0x40]
push 0x59aa30
push ecx
mov byte [esp + 0x9c], 1
call fcn.00405480
add esp, 0xc
push 0x59ddd8
lea ecx, [esp + 0x3c]
call fcn.00402390
lea edx, [esp + 0x38]
lea eax, [ebp + 0xa8]
push edx
push eax
mov byte [esp + 0x98], 2
mov dword [esp + 0x20], eax
call fcn.004b4920
mov byte [esp + 0x90], 1
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 0x42f2ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x94]
lea esi, [ebp + 0x8c]
push 0x59dd80
push eax
mov ecx, esi
call fcn.005390d4
cmp dword [esi + 8], 0
jg 0x42f2f2
jmp fcn.00530cad
mov esi, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x18]
push ecx
push 0x59de14
push 0x59de20
push 0
mov ecx, ebx
call fcn.004b4c70
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.00538d38
push str._skin
lea edx, [esp + 0x20]
push 0x5f2868
push edx
mov byte [esp + 0x9c], 3
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x58]
mov ecx, str..zip
call fcn.004607a0
add esp, 4
mov dword [esp + 0x20], 1
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f37a
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x90], 5
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f3ac
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x90], 6
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f3de
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x90], 7
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f410
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x90], 8
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f442
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
xor esi, esi
mov byte [esp + 0x90], 9
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x24], esi
jle 0x42f788
lea ebx, [ebx]
push 0x5958a8
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00401ba0
add esp, 0xc
test esi, esi
mov bl, 0xa
mov byte [esp + 0x90], bl
jl 0x42f2ed
cmp esi, dword [esp + 0x5c]
jge 0x42f2ed
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + esi*4]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00401ae0
add esp, 0xc
mov byte [esp + 0x90], 0xb
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.00414180
mov edi, eax
mov byte [esp + 0x90], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 9
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 0x42f51f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x42f773
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42f074
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x6c], vtable.CArray_class_CIniGroup__class_CIniGroup__.0
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ebx, [esp + 0x40]
mov byte [esp + 0x98], 0xc
call fcn.00472b50
push str.COMMON
lea ebx, [esp + 0x6c]
call fcn.00472e00
mov esi, eax
test esi, esi
jl 0x42f759
cmp esi, dword [esp + 0x74]
jge 0x42f2ed
mov edx, dword [esp + 0x70]
lea ebp, [esi + esi*2]
shl ebp, 4
lea eax, [edx + ebp]
push eax
call fcn.00471e50
cmp esi, dword [esp + 0x74]
jge 0x42f2ed
mov eax, dword [esp + 0x70]
lea edi, [eax + ebp]
mov ebx, 0x59de6c
call fcn.00471cf0
push eax
lea ecx, [esp + 0x38]
call fcn.00402310
cmp esi, dword [esp + 0x74]
jge 0x42f2ed
mov ecx, dword [esp + 0x70]
lea edi, [ecx + ebp]
mov ebx, 0x598a04
call fcn.00471cf0
push eax
lea ecx, [esp + 0x30]
call fcn.00402310
cmp esi, dword [esp + 0x74]
jge 0x42f2ed
mov edx, dword [esp + 0x70]
lea edi, [edx + ebp]
mov ebx, 0x59de80
call fcn.00471cf0
push eax
lea ecx, [esp + 0x34]
call fcn.00402310
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x42f074
mov eax, dword [esp + 0x2c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f666
test dx, dx
je 0x42f662
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f666
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f640
xor eax, eax
jmp 0x42f66b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f759
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x5c]
jge 0x42f2ed
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x94]
lea eax, [eax + esi*4]
add ecx, 0x8c
push eax
push edx
call fcn.00539068
push 0x5958a8
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00401ba0
add esp, 0xc
mov bl, 0xd
mov byte [esp + 0x90], bl
cmp esi, dword [esp + 0x5c]
jge 0x42f2ed
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + esi*4]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
call fcn.00401ae0
add esp, 0xc
mov byte [esp + 0x90], 0xe
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.004b4c70
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0xc
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x20], 1
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x94], 9
call fcn.00471fa0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esi, 1
cmp esi, dword [esp + 0x5c]
mov dword [esp + 0x24], esi
jl 0x42f470
mov ebx, dword [esp + 0x18]
mov edx, dword [0x5f21ec]
cmp dword [edx - 0xc], 0
jne 0x42f7b9
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x42f838
push 2
push 2
push 0
mov ecx, ebx
jmp 0x42f833
mov esi, 1
cmp dword [ebp + 0x94], esi
jle 0x42f838
mov edi, dword [esp + 0x28]
test esi, esi
jl 0x42f2ed
cmp esi, dword [edi + 0x94]
jge 0x42f2ed
mov ecx, dword [edi + 0x90]
mov edx, dword [0x5f21ec]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
push edx
push eax
call fcn.005522fc
add esp, 8
test eax, eax
jg 0x42f80a
add esi, 1
cmp esi, dword [edi + 0x94]
jl 0x42f7ca
jmp 0x42f838
add esi, 0xffffffff
js 0x42f838
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jge 0x42f838
mov ecx, dword [esp + 0x18]
push 2
push 2
push esi
call fcn.0053c626
mov byte [esp + 0x90], 8
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 6
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 0x42f8b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 5
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 0x42f8d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 4
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 0x42f900
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 3
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 0x42f928
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x90], 1
call fcn.00538dd6
mov byte [esp + 0x90], 0
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 0x42f961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f98c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret