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

Disassembly:
sub esp, 0x24
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov ebp, ecx
cmp eax, 0x12
ja case.0x55853d.3
movzx eax, byte [eax + 0x558e6c]
jmp dword [eax*4 + 0x558e40]
lea ecx, [esi + 9]
push ecx
mov ecx, ebp
call fcn.00558240
cmp dword [esi + 0x25], 0
je 0x5585a5
mov edx, dword [esi + 0x11]
mov dword [0x6deea4], edx
mov eax, dword [esi + 0x11]
push eax
call fcn.004459f0
mov ecx, eax
call fcn.004b8450
mov ecx, dword [esi + 0x11]
push ecx
mov ecx, 0x6b1d88
call fcn.0049ecc0
test eax, eax
jne 0x55858b
push eax
push 0x3d0
jmp 0x558e1e
mov ecx, dword [eax + 0x29e]
test ecx, 0x1000
jne 0x5585a5
or ecx, 0x1000
mov dword [eax + 0x29e], ecx
mov edx, dword [esi + 0x11]
push edx
mov ecx, 0x6b1d88
call fcn.004aaf20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
lea eax, [esi + 9]
push eax
call fcn.00558320
mov ecx, dword [esi + 0xd]
push ecx
mov ecx, 0x6b1d88
call fcn.004aaf20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov edx, dword [esi + 3]
push edx
mov ecx, 0x6b1178
call fcn.004948f0
mov edi, eax
xor ebp, ebp
cmp edi, ebp
je case.0x55853d.0
push ebp
push 0x1f
push edi
mov ecx, 0x6b300c
call fcn.004c2a10
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push edi
push 0xe28
mov ecx, 0x6dec38
call fcn.005435c0
lea eax, [esi + 0x3b]
push eax
mov ecx, edi
mov dword [edi + 0x404], 1
call fcn.0049be80
push edi
mov ecx, 0x6b1020
call fcn.00488c60
cmp dword [0x6b117c], edi
jne 0x5587a3
push 0x384
call fcn.00565941
add esp, 4
cmp eax, ebp
je 0x55867a
mov ecx, eax
call fcn.00554bc0
mov ebx, eax
jmp 0x55867c
xor ebx, ebx
lea ecx, [esi + 0x11]
push ecx
mov ecx, ebx
call fcn.00554b20
push ebx
mov ecx, edi
call fcn.0049b2f0
mov edx, dword [esi + 0x21]
mov ecx, dword [0x6a32d4]
push edx
call fcn.00555b70
mov eax, dword [esi + 0x25]
mov ecx, dword [0x6a32d4]
push eax
call fcn.00555c20
mov ecx, dword [0x6a32d4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
push 0x60a
mov ecx, 0x6b3178
call fcn.004c5f80
push eax
push 0x1d
push 0x6b3178
call fcn.004c71b0
add esp, 0xc
push ebp
push 0x400
mov ecx, 0x6de108
call fcn.00537820
test eax, eax
jne 0x558702
mov ecx, dword [esi + 0xd]
mov edx, dword [0x6b117c]
push ecx
push ebp
push 0xa5
push edx
jmp 0x55870f
mov eax, dword [0x6b117c]
push ebp
push ebp
push 0xa6
push eax
mov ecx, 0x6a4b00
call fcn.00424050
mov ecx, 0x6b1108
call fcn.0048b770
mov ecx, 0x6b1d88
call fcn.004aab10
mov ecx, dword [0x6a3338]
call fcn.004657e0
fld dword [0x5980c0]
mov eax, dword [0x6dea60]
mov ecx, dword [0x6b117c]
imul eax, eax, 0xb0
push 1
push ecx
sub esp, 0xc
mov ecx, 0x6de4c0
fstp dword [esp + 8]
fld dword [eax + 0x6de4f0]
fstp dword [esp + 4]
fld dword [eax + 0x6de4e0]
fstp dword [esp]
push ebp
call fcn.00540790
push 1
mov ecx, 0x6de108
call fcn.00536b00
mov ecx, dword [0x6a32c0]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ebp
call eax
cmp dword [0x6b117c], edi
jne 0x5587a3
mov ecx, 0x6b2320
call fcn.004bdc70
mov eax, dword [edi + 0x142]
push eax
call fcn.0041eed0
mov ecx, eax
call fcn.0054e260
cmp byte [eax + 8], 2
jne 0x55882f
push 0xfffffffffffffffe
mov ecx, edi
call fcn.00494050
mov al, byte [edi + 0x146]
test al, al
jne 0x5587f1
push str.t_eff_bmu_A_s.beff
call fcn.005164f0
mov ecx, dword [0x6b117c]
add esp, 4
push ecx
push 1
lea edx, [esp + 0x24]
mov word [esp + 0x24], ax
push edx
jmp 0x558814
cmp al, 1
jne 0x55882f
push str.t_eff_bmu_B_s.beff
call fcn.005164f0
add esp, 4
mov word [esp + 0x1c], ax
mov eax, dword [0x6b117c]
push eax
push 1
lea ecx, [esp + 0x24]
push ecx
fldz
push 0xfffffffffffffffe
fst dword [esp + 0x3c]
mov ecx, edi
fst dword [esp + 0x38]
mov dword [esp + 0x30], ebp
fstp dword [esp + 0x34]
call fcn.00493f80
cmp byte [edi + 0x451], 1
jne 0x55887c
push 0xfffffffffffffffb
mov ecx, edi
call fcn.00494050
push str.t_maintain_PK_S.beff
call fcn.005164f0
fldz
mov edx, dword [0x6b117c]
fst dword [esp + 0x30]
add esp, 4
fst dword [esp + 0x28]
push edx
fstp dword [esp + 0x28]
mov word [esp + 0x20], ax
push 1
lea eax, [esp + 0x24]
push eax
push 0xfffffffffffffffb
mov ecx, edi
mov dword [esp + 0x30], ebp
call fcn.00493f80
mov ecx, edi
call fcn.00499d10
mov ecx, edi
call fcn.00492cd0
test al, al
jne case.0x55853d.0
push ebp
push ebp
push edi
mov ecx, 0x6b300c
call fcn.004c2a10
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov ecx, dword [esi + 9]
push ecx
mov ecx, 0x6b1178
call fcn.004948f0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x5588d5
push ebx
push 0x448
jmp 0x558e1e
mov ecx, dword [esi + 0xd]
cmp dword [esi + 0x11], ebx
ja 0x55891b
jb 0x5588e4
cmp ecx, 4
ja 0x55891b
jmp dword [ecx*4 + 0x558e80]
push ebx
push 0x45c
push str.TitanManager.cpp
call fcn.00515d90
add esp, 0xc
push edi
mov ecx, 0x6b1020
mov dword [edi + 0x404], ebx
call fcn.00488c60
cmp dword [0x6b117c], edi
jne 0x558b36
mov edx, dword [esi + 0xd]
mov ebx, dword [edi + 0x5f8]
push 0
push edx
mov ecx, ebp
call fcn.00557130
test ebx, ebx
je 0x55896f
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 1
mov ecx, ebx
call edx
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.0049b2f0
push 0
push 0x400
mov ecx, 0x6de108
call fcn.00537820
push 0
test eax, eax
jne 0x55899b
mov eax, dword [0x6b117c]
push 0xa5
push eax
jmp 0x5589a7
mov ecx, dword [0x6b117c]
push 0xa6
push ecx
mov ecx, 0x6a4b00
call fcn.00424150
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.005572d0
mov ecx, dword [eax]
mov eax, ecx
mov edx, ecx
and edx, 0xf000000
and eax, 0xf0000000
or eax, edx
mov edx, ecx
and edx, 0xfc0000
or eax, edx
mov edx, ecx
and edx, 0x3f000
or eax, edx
mov edx, ecx
and edx, 0xfc0
or eax, edx
and ecx, 0x3f
or eax, ecx
mov ecx, eax
and ecx, 0x3f
push ecx
mov edx, eax
mov ecx, eax
shr edx, 6
and edx, 0x3f
shr ecx, 0xc
push edx
and ecx, 0x3f
shr eax, 0x12
push ecx
and eax, 0x3f
push eax
call fcn.00515730
mov edx, dword [ebp + 0x14]
add esp, 0x10
push edx
mov ecx, 0x6b1d88
mov ebx, eax
call fcn.0049ecc0
test eax, eax
je 0x558a51
mov edx, dword [eax]
mov ebp, dword [0x6b117c]
push 0
mov ecx, eax
mov eax, dword [edx + 0x78]
push ebx
call eax
movzx ecx, ax
push ecx
push 2
lea ecx, [ebp + 0x610]
call fcn.00521800
mov ecx, dword [0x6a32d4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
mov eax, dword [esi + 0xd]
mov esi, dword [esi + 0x11]
mov dword [esp + 0x14], esi
test esi, esi
jl 0x558ab9
jg 0x558ab9
test eax, eax
jb 0x558ab9
test esi, esi
jg 0x558ab9
jl 0x558a7f
cmp eax, 4
ja 0x558ab9
jmp dword [eax*4 + 0x558e94]
push 0
push 0x4a3
push str.TitanManager.cpp
call fcn.00515d90
add esp, 0xc
mov ecx, 0x6b1108
call fcn.0048b770
mov ecx, 0x6b1d88
call fcn.004aab10
mov ecx, dword [0x6a3338]
call fcn.004657e0
fld dword [0x583e58]
mov eax, dword [0x6dea60]
mov ecx, dword [0x6b117c]
imul eax, eax, 0xb0
sub esp, 0xc
fstp dword [esp + 8]
fld dword [eax + 0x6de4f0]
fstp dword [esp + 4]
fld dword [eax + 0x6de4e0]
fstp dword [esp]
push ecx
mov ecx, 0x6de4c0
call fcn.00540a60
push 0
mov ecx, 0x6de108
call fcn.00536b00
xor ebx, ebx
mov ecx, edi
call fcn.00499d10
mov ecx, edi
call fcn.00492cd0
test al, al
jne 0x558b55
push ebx
push ebx
push edi
mov ecx, 0x6b300c
call fcn.004c2a10
mov eax, dword [edi + 0x142]
push eax
call fcn.0041eed0
mov ecx, eax
call fcn.0054e260
cmp byte [eax + 8], 2
jne 0x558be2
push 0xfffffffffffffffe
mov ecx, edi
call fcn.00494050
mov al, byte [edi + 0x146]
test al, al
jne 0x558ba3
push str.eff_bmu_A_s.beff
call fcn.005164f0
mov edx, dword [0x6b117c]
add esp, 4
push edx
mov word [esp + 0x20], ax
push 1
lea eax, [esp + 0x24]
push eax
jmp 0x558bc7
cmp al, 1
jne 0x558be2
push 0x58d6b0
call fcn.005164f0
mov ecx, dword [0x6b117c]
add esp, 4
push ecx
push 1
lea edx, [esp + 0x24]
mov word [esp + 0x24], ax
push edx
fldz
push 0xfffffffffffffffe
fst dword [esp + 0x3c]
mov ecx, edi
fst dword [esp + 0x38]
mov dword [esp + 0x30], ebx
fstp dword [esp + 0x34]
call fcn.00493f80
cmp byte [edi + 0x451], 1
jne case.0x55853d.0
push 0xfffffffffffffffb
mov ecx, edi
call fcn.00494050
push str.maintain_PK_S.beff
call fcn.005164f0
fldz
add esp, 4
fst dword [esp + 0x2c]
mov word [esp + 0x1c], ax
fst dword [esp + 0x28]
mov eax, dword [0x6b117c]
fstp dword [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x24]
push ecx
push 0xfffffffffffffffb
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.00493f80
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov edx, dword [ebp + 0x14]
push edx
call fcn.00557340
test eax, eax
jne 0x558c5f
push eax
push 0x4da
jmp 0x558e1e
mov ecx, dword [esi + 9]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 9]
push edx
mov ecx, ebp
call fcn.00556ee0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov eax, dword [ebp + 0x14]
push eax
call fcn.00557340
test eax, eax
jne 0x558c9d
push eax
push 0x4ea
jmp 0x558e1e
mov ecx, dword [esi + 9]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 9]
push edx
mov ecx, ebp
call fcn.00556ef0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov eax, dword [esi + 9]
push eax
call fcn.005573c0
test eax, eax
je case.0x55853d.0
mov ecx, dword [esi + 0xd]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 9]
push edx
mov ecx, 0x6b1d88
call fcn.004aaf20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov eax, dword [esi + 3]
push eax
mov ecx, 0x6b1178
call fcn.004948f0
mov edi, eax
test edi, edi
je case.0x55853d.0
mov ecx, edi
call fcn.00492cd0
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
call edx
cmp edi, dword [0x6b117c]
jne 0x558d93
mov esi, dword [0x6a32c0]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
mov ecx, esi
call edx
mov eax, dword [0x6deea4]
push eax
mov ecx, 0x6dee90
call fcn.00557340
test eax, eax
je case.0x55853d.0
movzx ecx, word [eax + 0xe]
movzx edx, word [eax + 0xc]
push ecx
push edx
mov ecx, 0x6c1de8
call fcn.00519b10
test eax, eax
je case.0x55853d.0
mov eax, dword [eax + 0x64]
sub eax, dword [ebp + 0x170]
mov ecx, esi
push eax
call fcn.004438d0
mov ecx, esi
call fcn.004438f0
push 0x1f
push edi
mov ecx, 0x6b300c
call fcn.004c2c00
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
mov ecx, dword [esi + 3]
push ecx
mov ecx, 0x6b1178
call fcn.004948f0
mov esi, eax
test esi, esi
je case.0x55853d.0
push 0
push 0x1f
push esi
mov ecx, 0x6b300c
call fcn.004c2a10
cmp esi, dword [0x6b117c]
jne 0x558def
mov ecx, dword [0x6a32c0]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x98]
push 0
push 0x147
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8
push 0
push 0x54c
push str.TitanManager.cpp
call fcn.00515d90
add esp, 0xc
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00565862
add esp, 0x24
ret 8