Function at 0x10058630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ac
push ebx
mov ebx, ecx
mov dword [ebp - 0x30], 0
push esi
push edi
lea ecx, [ebp - 0x30]
mov edx, dword [ebx + 0xac]
push ecx
push 0
push edx
mov eax, dword [edx]
call dword [eax + 0x48]
test eax, eax
jne 0x10058aa8
mov eax, dword [ebx]
push dword [ebp - 0x30]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [ebx]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebx]
push 0xf
push 0xa8
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [ebx + 4]
push 0x12
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
mov eax, dword [edx]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x5c]
push eax
push 0
lea eax, [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x18]
push dword [eax]
push edx
call ecx
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebx]
push 7
push 0xa8
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [ebx + 0xbc]
mov al, byte [eax]
cmp al, 2
jne 0x1005872a
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
mov eax, dword [edx]
mov dword [ebp - 0x5c], 0x43b68000
mov dword [ebp - 0x58], 0x42200000
mov dword [ebp - 0x54], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebx + 0x74]
push 0
push eax
mov eax, dword [ebx + 0x60]
jmp 0x1005875a
cmp al, 1
jne 0x1005875f
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
mov eax, dword [edx]
mov dword [ebp - 0x68], 0x43b68000
mov dword [ebp - 0x64], 0x42200000
mov dword [ebp - 0x60], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebx + 0x50]
push 0
push eax
mov eax, dword [ebx + 0x3c]
push dword [eax]
push edx
call ecx
mov edi, dword [ebx + 0xbc]
mov dword [ebp - 0x28], 0x78207325
mov word [ebp - 0x24], 0x6425
mov byte [ebp - 0x22], 0
mov dword [ebp - 0x10], 0x28207325
mov dword [ebp - 0xc], 0x44206425
mov dword [ebp - 8], 0x297961
mov dword [ebp - 0x20], 0x28207325
mov dword [ebp - 0x1c], 0x44206425
mov dword [ebp - 0x18], 0x29737961
mov byte [ebp - 0x14], 0
mov word [ebp - 4], 0x7325
mov byte [ebp - 2], 0
cmp dword [edi + 8], 0
mov dword [ebp - 0x3c], 0
jbe 0x10058a8b
mov eax, 0x41
xor esi, esi
mov dword [ebp - 0x2c], eax
nop dword [eax]
cmp eax, 0x9b
jge 0x10058a8b
push 0xc9
lea eax, [ebp - 0x138]
mov dword [ebp - 0x38], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.100b3430
mov eax, dword [esi + edi + 0xc]
add esp, 0xc
cmp eax, 1
jne 0x10058903
mov eax, dword [str._Item_]
mov dword [ebp - 0x50], eax
mov ax, word [0x100ea4cc]
mov word [ebp - 0x4c], ax
mov al, byte [0x100ea4ce]
mov byte [ebp - 0x4a], al
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x34], 0
push eax
push dword [esi + edi + 0x14]
push dword [esi + edi + 0x10]
call fcn.100895b0
test al, al
je 0x10058998
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx + 0xce]
test dl, dl
je 0x10058878
movq xmm0, qword [str._Weapon_]
mov al, byte [0x100ea4d8]
movq qword [ebp - 0x50], xmm0
mov byte [ebp - 0x48], al
test dl, dl
mov edi, 0xffff0000
mov edx, dword [ebx + 0xbc]
mov eax, 0xff3399ff
cmove edi, eax
cmp byte [esi + edx + 0x20], 0
je 0x100588b9
mov eax, dword [esi + edx + 0x1c]
test eax, eax
je 0x100588b9
push eax
lea eax, [ecx + 4]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100594a0
add esp, 0x10
jmp 0x100589d4
mov edx, dword [esi + edx + 0x18]
test edx, edx
je 0x100588e7
add ecx, 4
lea eax, [ebp - 0x20]
push edx
push ecx
cmp edx, 1
lea ecx, [ebp - 0x10]
cmove eax, ecx
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100594a0
add esp, 0x10
jmp 0x100589d4
lea eax, [ecx + 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100594a0
add esp, 0xc
jmp 0x100589d4
cmp eax, 2
jne 0x10058ab6
mov al, byte [0x100ea4e4]
mov edi, 0xffffab00
movq xmm0, qword [str._Emblem_]
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x180]
movq qword [ebp - 0x50], xmm0
push eax
mov eax, dword [ebx + 0xbc]
push dword [esi + eax + 0x10]
call fcn.10049070
test al, al
je 0x1005897b
mov eax, dword [ebx + 0xbc]
mov ecx, dword [esi + eax + 0x18]
lea eax, [ebp - 0x278]
test ecx, ecx
je 0x100588ea
push ecx
push eax
cmp ecx, 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x20]
cmove eax, edx
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.100594a0
add esp, 0x10
jmp 0x100589d4
movq xmm0, qword [str.NOT_FOUND]
mov ax, word [0x100ea4f0]
movq qword [ebp - 0x138], xmm0
mov word [ebp - 0x130], ax
mov eax, dword [ebx + 0xbc]
mov edi, 0xffff0000
mov dword [ebp - 0x50], 0x7272455b
mov dword [ebp - 0x4c], 0x5d726f
mov dword [ebp - 0x38], edi
push dword [esi + eax + 0x14]
push dword [esi + eax + 0x10]
push dword [esi + eax + 0xc]
lea eax, [ebp - 0x138]
push str.NOT_FOUND___d__d__d_
push eax
call fcn.1000ee60
add esp, 0x14
push 1
push edi
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
mov edx, dword [ebx + 4]
push 0x100
push 0
push 0
push edi
push 0xa
push ecx
push eax
mov eax, dword [0x1014839c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x1c]
call fcn.10039160
add esp, 0x24
lea eax, [ebp - 0x5a8]
push 0x25a
push 0
push eax
call fcn.100b3430
add esp, 0xc
lea eax, [ebp - 0x5a8]
push 0x12c
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x138]
push eax
push 0
push 0x36a
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push dword [ebp - 0x38]
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x5a8]
push 0x100
push 0
push 0
push edi
push 0x4b
push 0xffffffffffffffff
push eax
mov eax, dword [0x1014839c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
call fcn.100392a0
mov ecx, dword [ebp - 0x3c]
add edi, 0x12
mov dword [ebp - 0x2c], edi
inc ecx
mov edi, dword [ebx + 0xbc]
add esp, 0x24
mov eax, dword [ebp - 0x2c]
add esi, 0x18
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [edi + 8]
jb 0x100587d0
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov byte [ebx + 0xc0], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10058998
lea eax, [ebp - 0x348]
mov dword [ebp - 0x50], 0x7469545b
push eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x4c], 0x5d656c
push eax
mov eax, dword [ebx + 0xbc]
mov edi, 0xff00ff00
push dword [esi + eax + 0x10]
call fcn.10049120
test al, al
je 0x10058998
mov eax, dword [ebx + 0xbc]
mov ecx, dword [esi + eax + 0x18]
lea eax, [ebp - 0x348]
jmp 0x10058957