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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f4f32
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
push esi
xor esi, esi
push edi
mov al, byte [ebp + 4]
mov dword [ebp + 0xc], esi
test al, al
jne 0x4c2954
mov edi, dword [ebp + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [esp + 0xd0]
push esi
mov dword [esp + 0x18], 3
mov byte [ecx], 2
mov edx, dword [ebp + 0x1c]
mov cl, byte [esp + 0x17]
mov byte [edx + 1], 3
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], bl
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00414090
movsx ebx, bx
push ebx
lea edx, [esp + 0x64]
push 0x50f930
push edx
mov dword [esp + 0xd0], esi
call fcn.004de8d6
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [esp + 0x2c]
push esi
mov dword [esp + 0x20], esi
call fcn.004144a0
test al, al
je 0x4c29ed
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00414480
test ebx, ebx
mov byte [esp + 0x13], 1
jle 0x4c2a99
lea esi, [esp + 0xd0]
mov dword [esp + 0x18], ebx
mov al, byte [esp + 0x13]
test al, al
je 0x4c2a1a
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [edx + eax], 0xff
jmp 0x4c2a25
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
mov byte [ecx + edx], 0
mov bx, word [esi + 4]
add esi, 4
movsx eax, bx
push eax
lea ecx, [esp + 0x64]
push 0x5137c0
push ecx
call fcn.004de8d6
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00414200
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, ebx
add eax, 3
sar ecx, 8
mov byte [edx + eax - 2], cl
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov byte [ecx + eax - 1], bl
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
test cl, cl
sete dl
dec eax
mov byte [esp + 0x13], dl
mov dword [esp + 0x18], eax
jne 0x4c2a05
call fcn.004cc820
test al, al
je 0x4c2b7c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c2b7c
call fcn.004d15a0
test eax, eax
je 0x4c2b7c
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00414090
mov edi, str.CCommWithEcu::VoltageHighLowTime_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.004144a0
test al, al
je 0x4c2b15
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::VoltageHighLowTime_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00414480
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x28]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xd0], 1
call fcn.00414120
mov edi, 0x5131d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5131d0
lea ecx, [esp + 0x20]
call fcn.00414200
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c2b5e
mov eax, 0x4f7480
mov ecx, dword [ebp + 0x10]
push 0
push eax
call fcn.004d1fb0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 0
call fcn.00414090
mov al, byte [ebp + 4]
mov edx, dword [esp + 0x14]
test al, al
je 0x4c2be6
mov edi, dword [ebp + 0x1c]
add ebp, 0x20
add edi, edx
lea ecx, [esp + 0x18]
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 1
call fcn.004c6dd0
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00414090
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp]
push edx
push eax
call fcn.004d6ec0
mov edi, dword [ebp + 0x18]
mov ecx, 0x19
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp]
call fcn.004d70f0
mov ebp, dword [ebp + 0x18]
add ebp, 8
test eax, eax
movsx si, byte [ebp]
mov dword [esp + 0x18], esi
je 0x4c2c55
test si, si
jne 0x4c2d6b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4c2bca
mov al, byte [ecx - 1]
test al, al
je 0x4c2c46
cmp al, 0xff
je 0x4c2c46
dec al
mov byte [ecx - 1], al
jmp 0x4c2bca
dec ecx
push ecx
call fcn.004de1a0
add esp, 4
jmp 0x4c2bca
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x28], esp
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.00414090
mov edi, str.CCommWithEcu::VoltageHighLowTime__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004144a0
test al, al
je 0x4c2cb1
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, str.CCommWithEcu::VoltageHighLowTime__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xe8], 2
call fcn.00413ad0
push 0xfffffffffffffff6
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe8], 0
call fcn.004d6290
mov esi, eax
mov ax, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x3c], ax
push 0
mov cl, byte [edi]
mov byte [esp + 0xc8], 3
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
call fcn.00414090
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x40]
push edx
push 0
push edi
call fcn.00413e90
mov al, byte [esi + 0x18]
add esi, 0x18
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 4
mov byte [esp + 0x54], al
call fcn.00414090
mov ecx, dword [0x4f73d0]
push ecx
push 0
push esi
lea ecx, [esp + 0x5c]
call fcn.00413e90
lea edx, [esp + 0x38]
push 0x509890
push edx
mov dword [esp + 0x40], 0x4f8108
mov byte [esp + 0xcc], 3
call fcn.004df95b
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00414090
mov edi, str.CCommWithEcu::VoltageHighLowTime__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004144a0
test al, al
je 0x4c2dcc
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::VoltageHighLowTime__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
mov byte [ebp + ebx], 0
add ebp, ebx
sub esp, 0x10
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xe8], 5
call fcn.00413ad0
push esi
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe8], 0
call fcn.004d6290
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x3c], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], bl
mov byte [esp + 0x44], dl
call fcn.00414090
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x40]
push eax
push 0
push edi
call fcn.00413e90
mov cl, byte [esi + 0x18]
add esi, 0x18
mov byte [esp + 0x50], cl
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 7
call fcn.00414090
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x50]
push edx
push 0
push esi
call fcn.00413e90
lea eax, [esp + 0x38]
push 0x509890
push eax
mov dword [esp + 0x40], 0x4f8108
mov byte [esp + 0xcc], bl
call fcn.004df95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop