Function at 0x55b8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x870ea4
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00573dd0
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
mov ebp, 0x2400000
je 0x55b928
mov ecx, dword [0x91cadc]
push eax
call fcn.00516af0
cmp eax, ebx
je 0x55b928
mov esi, 0x5bc
push esi
mov ecx, eax
call fcn.005b8550
cmp eax, ebx
je 0x55b928
cmp dword [eax + 0x18], 1
jne 0x55b928
cmp dword [eax + 0x24], esi
je 0x55b928
mov ecx, dword [eax + 0x1c]
or ecx, ebp
mov dword [eax + 0x24], esi
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x55b966
mov ecx, dword [0x91cadc]
push eax
call fcn.00516af0
cmp eax, ebx
je 0x55b966
mov esi, 0x682
push esi
mov ecx, eax
call fcn.005b8550
cmp eax, ebx
je 0x55b966
cmp dword [eax + 0x18], 1
jne 0x55b966
cmp dword [eax + 0x24], esi
je 0x55b966
mov ecx, dword [eax + 0x1c]
or ecx, ebp
mov dword [eax + 0x24], esi
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x55b9a4
mov ecx, dword [0x91cadc]
push eax
call fcn.00516af0
cmp eax, ebx
je 0x55b9a4
mov esi, 0xfbb0b78e
push esi
mov ecx, eax
call fcn.005b8550
cmp eax, ebx
je 0x55b9a4
cmp dword [eax + 0x18], 1
jne 0x55b9a4
cmp dword [eax + 0x24], esi
je 0x55b9a4
mov ecx, dword [eax + 0x1c]
or ecx, ebp
mov dword [eax + 0x24], esi
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x55b9cb
mov ecx, dword [0x91cadc]
push eax
call fcn.00516af0
cmp eax, ebx
je 0x55b9cb
push 0xf365871
mov ecx, eax
call fcn.005b8550
cmp eax, ebx
jne 0x55b9cd
xor eax, eax
lea ecx, [edi + 0x148]
push ecx
lea edx, [edi + 0x144]
push edx
push eax
mov dword [edi + 0x140], eax
call fcn.00514fd0
mov edx, dword [edi + 0x140]
lea eax, [edi + 0x150]
push eax
lea ecx, [edi + 0x14c]
push ecx
push edx
call fcn.00515520
mov eax, dword [edi + 0x10]
add esp, 0x18
cmp eax, ebx
je 0x55ba2b
mov ecx, dword [0x91cadc]
push eax
call fcn.00516af0
cmp eax, ebx
je 0x55ba2b
push 0xf156f6c5
mov ecx, eax
call fcn.005b8550
cmp eax, ebx
jne 0x55ba2d
xor eax, eax
mov dword [edi + 0x124], eax
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
mov al, byte [ecx + 0xb0]
xor esi, esi
cmp al, 0xc
jbe 0x55ba4e
mov esi, 1
jmp 0x55ba57
cmp al, 8
jbe 0x55ba57
mov esi, 2
push 0xd0
call fcn.00652ad0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x55ba79
mov ecx, eax
call fcn.0055a280
jmp 0x55ba7b
xor eax, eax
mov ecx, dword [edi + 0x140]
push esi
mov dword [edi + 0x160], eax
mov edx, dword [0x91e000]
mov ebp, dword [edx + 0x1968]
push ebx
push ecx
push ebp
mov ecx, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00546400
mov eax, dword [edi + 0x160]
add eax, 0x1c
mov ecx, 0x3f000000
mov dword [eax + 0x24], ecx
mov dword [eax + 0x50], ecx
mov eax, dword [edi + 0x160]
add eax, 0x74
mov dword [eax + 0x24], ecx
mov dword [eax + 0x50], ecx
mov eax, dword [edi + 0x160]
lea esi, [eax + 0x1c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov byte [eax + 0xcc], bl
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
call fcn.00651550
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov word [esi + 0x28], bx
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov word [esi + 0x54], bx
mov eax, dword [edi + 0x160]
lea ecx, [esp + 0x10]
lea esi, [eax + 0x74]
push ecx
mov ecx, esi
mov byte [eax + 0xcc], bl
mov dword [esp + 0x14], 0x3f000000
mov dword [esp + 0x18], 0x3f000000
call fcn.00651550
cmp ebp, ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
mov word [esi + 0x28], bx
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov word [esi + 0x54], bx
je 0x55bb70
mov ecx, ebp
call fcn.005faa20
mov dword [edi + 0x16c], eax
jmp 0x55bb7a
mov dword [edi + 0x16c], 0xffffffff
mov eax, dword [0x904fb8]
push eax
call fcn.00722840
add esp, 4
mov ecx, edi
mov dword [edi + 0x13c], eax
call fcn.00530f40
mov ecx, dword [0x92d87c]
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [eax + 4]
push 0x4040e0
call fcn.005d59f0
cmp eax, ebx
mov esi, 3
je 0x55bbd6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xac]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xa0]
test eax, eax
je 0x55bbd6
mov dword [edi + 0x164], esi
cmp dword [edi + 0x164], esi
je 0x55bbf0
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 0x46]
mov dword [edi + 0x164], edx
mov eax, dword [edi + 0x164]
sub eax, ebx
je 0x55bc38
dec eax
je 0x55bc1d
sub eax, 2
jne 0x55bc74
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 0x45]
mov ecx, edi
mov dword [edi + 0x168], edx
call fcn.00548810
jmp 0x55bc74
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 0x44]
mov ecx, edi
mov dword [edi + 0x168], edx
call fcn.005487a0
jmp 0x55bc74
mov eax, dword [0x91cf90]
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 0x44]
mov eax, dword [edi + 0x124]
push eax
mov dword [edi + 0x168], edx
call fcn.00514cc0
add esp, 4
push 0xa
mov ecx, edi
call fcn.005486a0
push 8
mov ecx, edi
call fcn.005486a0
push 9
mov ecx, edi
call fcn.005486a0
mov ecx, edi
call fcn.0051fb60
fld dword [0x89096c]
mov eax, dword [edi + 0x168]
dec eax
je 0x55bca4
dec eax
je 0x55bc9a
dec eax
jne 0x55bcac
fstp st(0)
fld dword [0x890da4]
jmp 0x55bcac
fstp st(0)
fld dword [str.33S_SMSMes]
jmp 0x55bcac
fstp st(0)
fld dword [0x890d3c]
fdivr dword [0x89096c]
mov eax, dword [edi + 0x160]
lea ecx, [esp + 0x18]
lea esi, [eax + 0x1c]
push ecx
mov ecx, esi
fst dword [esp + 0x1c]
fstp dword [esp + 0x20]
call fcn.00651550
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
mov word [esi + 0x28], bx
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [esi + 0x2c], ecx
push ebx
mov ecx, edi
mov dword [esi + 0x30], edx
mov word [esi + 0x54], bx
call fcn.005a5ea0
mov ecx, edi
call fcn.005488b0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret