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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x550312
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42cf34]
call fcn.00433b1c
mov esi, eax
mov dword [ebx + 0x294], esi
mov edx, dword [ebx + 0x48]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x294]
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebx + 0x298], 0
je 0x54fce1
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov edi, dword [ebx + 0x298]
mov esi, dword [edi + 0x98]
mov edx, dword [esi + 4]
mov eax, dword [edi + 0xac]
call fcn.0041d16c
mov edi, eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x2c]
push eax
lea eax, [ebx + 0x270]
push eax
lea eax, [ebx + 0x278]
push eax
lea eax, [ebx + 0x280]
push eax
lea eax, [ebx + 0x288]
push eax
lea eax, [ebx + 0x260]
push eax
mov eax, dword [ebx + 0x294]
push eax
push edi
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041ba70
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebx + 0x4c]
push eax
push 1
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x98]
movzx eax, byte [eax + 0x4d]
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x98]
movzx eax, byte [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x98]
movzx eax, byte [eax + 0x4e]
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x98]
movzx eax, byte [eax + 0x4f]
push eax
movzx eax, byte [esi + 0x50]
push eax
movzx eax, byte [esi + 0x51]
push eax
lea ecx, [esi + 0x1c]
lea edx, [esi + 0x14]
lea eax, [esi + 0xc]
call fcn.00555668
jmp 0x54fd38
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov esi, eax
mov eax, dword [esi + 0x14]
mov edx, 0xff000018
call fcn.0042e8dc
lea edx, [ebp - 0x48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.0042ed3c
lea edx, [ebp - 0x28]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0xff000010
push 1
mov eax, dword [ebx + 0x294]
call fcn.004340f0
lea edx, [ebp - 0x28]
mov ecx, 0xff000010
call fcn.00447990
cmp dword [ebx + 0x298], 0
je 0x550088
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov esi, eax
mov eax, dword [ebx + 0x298]
mov edi, dword [eax + 0x98]
mov dl, 1
mov eax, dword [esi + 0x14]
call fcn.0042ea18
mov eax, dword [ebx + 0x290]
cmp byte [eax + 0x4c], 0
je 0x54fd98
mov edx, dword [edi + 0x44]
mov eax, dword [esi + 0xc]
call fcn.0042e284
movzx edx, byte [edi + 0x40]
mov eax, dword [esi + 0xc]
call fcn.0042e370
mov edx, dword [edi + 0x3c]
mov eax, dword [esi + 0xc]
call fcn.0042e2cc
jmp 0x54fda9
mov eax, dword [ebx + 0x290]
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x54fdcd
cmp dword [eax + 0x48], 0
je 0x54fdcd
mov eax, dword [eax + 0x48]
movzx edx, byte [eax + 0x34]
mov eax, dword [esi + 0xc]
call fcn.0042e3e8
jmp 0x54fde5
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x48]
call fcn.0042e3e0
mov edx, eax
mov eax, dword [esi + 0xc]
call fcn.0042e3e8
mov edx, dword [edi + 0x48]
mov eax, dword [esi + 0xc]
call fcn.0042dfdc
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x70], 0
je 0x54fed6
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041ba70
movzx edx, byte [0x550320]
mov eax, dword [esi + 0xc]
call fcn.0042e370
push 0x400
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x70]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x28]
call fcn.00553e64
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
call fcn.00553e80
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x260]
add eax, 5
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x264]
mov eax, dword [ebp - 8]
add eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041ba70
push 0
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x70]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
mov edi, dword [esi + 0xc]
mov eax, edi
call fcn.0042e364
movzx edx, byte [0x550320]
not edx
and dl, al
mov eax, edi
call fcn.0042e370
mov edi, dword [ebp - 8]
add edi, 5
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x78], 0
je 0x54ffa3
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x74], 0
jl 0x54ffa3
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
call fcn.00473660
mov edx, dword [ebx + 0x290]
cmp eax, dword [edx + 0x74]
jle 0x54ffa3
mov eax, dword [ebx + 0x260]
add eax, 5
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x54ff55
lea eax, [ebx + 0x260]
call fcn.00553e80
sar eax, 1
jns 0x54ff35
adc eax, 0
add eax, dword [ebx + 0x264]
mov edx, dword [ebx + 0x290]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x54ff4e
adc edx, 0
sub eax, edx
mov dword [ebp - 0x18], eax
jmp 0x54ff60
mov eax, dword [ebx + 0x264]
add eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x74]
push eax
push 1
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov edx, eax
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x14]
call fcn.00473b78
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x14]
add eax, 5
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041ba70
push 0x400
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.00463ea0
mov eax, dword [ebp - 0x4c]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x28]
call fcn.00553e64
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
call fcn.00553e80
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
jne 0x550009
mov eax, dword [ebx + 0x260]
add eax, 5
mov dword [ebp - 0xc], eax
jmp 0x55000f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
test edi, edi
je 0x55001b
add edi, dword [ebx + 0x264]
jmp 0x550041
lea eax, [ebx + 0x260]
call fcn.00553e80
mov edi, eax
sar edi, 1
jns 0x55002f
adc edi, 0
add edi, dword [ebx + 0x264]
mov eax, dword [ebp - 8]
sar eax, 1
jns 0x55003f
adc eax, 0
sub edi, eax
mov eax, dword [ebp - 8]
add eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041ba70
push 0
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.00463ea0
mov eax, dword [ebp - 0x50]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
jmp 0x5502d6
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov esi, eax
mov eax, dword [ebx + 0x290]
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebx + 0x290]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5500ca
cmp dword [eax + 0x48], 0
je 0x5500ca
mov eax, dword [eax + 0x48]
movzx edx, byte [eax + 0x34]
mov eax, dword [esi + 0xc]
call fcn.0042e3e8
jmp 0x5500dc
mov eax, dword [edi + 0x48]
call fcn.0042e3e0
mov edx, eax
mov eax, dword [esi + 0xc]
call fcn.0042e3e8
mov eax, dword [esi + 0xc]
mov edx, 0xff000017
call fcn.0042dfdc
mov eax, dword [esi + 0x14]
mov dl, 1
call fcn.0042ea18
mov eax, dword [ebx + 0x4c]
sub eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebx + 0x48]
sub ecx, 2
mov edx, 2
mov eax, 2
call fcn.0041ba70
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x70], 0
je 0x5501f0
push 0
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041ba70
mov eax, dword [esi + 0xc]
movzx edx, byte [0x550320]
call fcn.0042e370
push 0x400
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x70]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x28]
call fcn.00553e64
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
call fcn.00553e80
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add eax, edi
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0041ba70
push 0
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x70]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
mov edi, dword [esi + 0xc]
mov eax, edi
call fcn.0042e364
movzx edx, byte [0x550320]
not edx
and dl, al
mov eax, edi
call fcn.0042e370
mov edi, dword [ebp - 8]
add edi, 5
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x78], 0
je 0x5502a5
mov eax, dword [ebx + 0x290]
cmp dword [eax + 0x74], 0
jl 0x5502a5
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
call fcn.00473660
mov edx, dword [ebx + 0x290]
cmp eax, dword [edx + 0x74]
jle 0x5502a5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x55025f
lea eax, [ebp - 0x38]
call fcn.00553e80
sar eax, 1
jns 0x550242
adc eax, 0
add eax, dword [ebp - 0x34]
mov edx, dword [ebx + 0x290]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0x30]
sar edx, 1
jns 0x550258
adc edx, 0
sub eax, edx
mov dword [ebp - 0x18], eax
jmp 0x550262
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x74]
push eax
push 1
mov eax, dword [ebx + 0x294]
call fcn.004340f0
mov edx, eax
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x14]
call fcn.00473b78
mov eax, dword [ebx + 0x290]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x14]
add eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.00463ea0
mov eax, dword [ebp - 0x54]
call fcn.0040579c
push eax
mov eax, esi
call fcn.0042f2ec
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebx + 0x294]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x250]
call fcn.0042ec14
mov eax, dword [ebx + 0x294]
call fcn.004043b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550319
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00405330
ret