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

Disassembly:
push 0xffffffffffffffff
push 0x52a990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [ebp + 0xc], esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], esi
mov byte [0x54dc7c], 3
call fcn.004974f0
mov al, byte [ebp + 4]
mov dword [esp + 0x530], 1
test al, al
jne 0x492092
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
call fcn.004a1910
mov ebx, dword [esp + 0x53c]
test al, al
je 0x4921ec
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x4921ec
call fcn.004d0210
test eax, eax
je 0x4921ec
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00405cc0
mov edi, str.CCommWithEcu::BoschEnter_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x30], edi
call fcn.00408220
test al, al
je 0x49211c
mov ecx, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
mov esi, str.CCommWithEcu::BoschEnter_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408200
xor esi, esi
mov edx, ebx
lea ecx, [esp + 0x74]
push 0x10
and edx, 0xff
push ecx
push edx
mov byte [esp + 0x53c], 2
call fcn.00515147
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004080a0
mov edi, 0x54df8c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x54df8c
lea ecx, [esp + 0x1c]
call fcn.004080a0
movsx ecx, word [esp + 0x540]
lea eax, [esp + 0x74]
push 0xa
push eax
push ecx
call fcn.00515147
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.004080a0
mov edi, 0x54dcd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x54dcd4
lea ecx, [esp + 0x1c]
call fcn.004080a0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4921cf
mov eax, 0x53115c
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004aad20
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x534], 1
call fcn.00405cc0
mov edx, dword [ebp + 0x1c]
mov byte [edx], 2
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 9
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 2], bl
movsx ecx, word [esp + 0x540]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebp + 0x1c]
sar eax, 8
and ecx, 0x800000ff
mov byte [edx + 3], al
jns 0x49222b
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + 0x1c]
mov byte [eax + 4], cl
mov al, byte [ebp + 4]
test al, al
je 0x4922c9
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x20]
add ebx, 5
lea edx, [esp + 0x6c]
mov dword [ebp + 0x1c], ebx
mov eax, dword [ecx + 8]
push edx
push 1
push eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], 2
call fcn.004b7130
mov esi, dword [esp + 0x538]
mov al, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], al
call fcn.00495de0
test eax, eax
jge 0x492280
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esp + 0x58]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x534], 3
call fcn.0048bd10
mov dword [esp + 0x2c], 1
jmp 0x492908
mov ecx, dword [ebp + 0x14]
push 5
push ecx
mov ecx, dword [ebp]
call fcn.004ab500
mov edi, dword [ebp + 0x18]
mov ecx, 0x3fff
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp]
push edx
call fcn.004ab730
cmp eax, esi
jne 0x4924a2
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00405cc0
and ebx, 0xff
lea ecx, [esp + 0x9c]
push ebx
push str.BYTE_ucAddressCode__0x_02X_
push ecx
mov byte [esp + 0x53c], 4
call fcn.00514b75
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x531160]
not ecx
dec ecx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, ebx
ja 0x49235d
call fcn.00514140
cmp ebx, esi
jbe 0x4923a3
mov eax, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
lea ebp, [eax + ebx]
push ebp
call fcn.00408220
test al, al
je 0x4923a3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea esi, [esp + 0x9c]
push ebp
lea edi, [edx + ecx]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00408200
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x54], esp
push 0
mov byte [ebp], cl
mov ecx, ebp
call fcn.00405cc0
mov edi, str.CCommWithEcu::BoschEnter__
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.00408220
test al, al
je 0x4923fb
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::BoschEnter__
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]
mov ecx, ebp
call fcn.00408200
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x554], 5
call fcn.0040d030
push 0xfffffffffffffff6
lea ecx, [esp + 0x124]
mov byte [esp + 0x554], 4
call fcn.004a2580
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x78], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x80]
mov byte [esp + 0x534], bl
mov byte [esp + 0x80], dl
call fcn.00405cc0
mov eax, dword [0x531160]
lea ecx, [esp + 0x7c]
push eax
push 0
push edi
call fcn.00407be0
add esi, 0x18
lea ecx, [esp + 0x8c]
push esi
mov byte [esp + 0x534], 7
call fcn.0040d030
lea ecx, [esp + 0x74]
push 0x541bb8
push ecx
mov dword [esp + 0x7c], 0x531da8
mov byte [esp + 0x538], bl
call fcn.0051510d
mov esi, dword [ebp + 0x18]
xor ebx, ebx
add esi, 8
movzx di, byte [esi]
inc esi
cmp di, bx
mov dword [esp + 0x24], edi
jne 0x49251d
mov esi, dword [esp + 0x538]
mov dl, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], dl
call fcn.00495de0
cmp eax, ebx
jge 0x4924d4
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x58]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x534], 8
call fcn.0048bd10
mov dword [esp + 0x2c], 1
jmp 0x492908
lea ecx, [esp + 0x30]
call fcn.0048a5e0
mov al, byte [esp + 0x13]
xor ecx, ecx
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
movsx eax, di
cmp eax, ebx
mov byte [esp + 0x530], 0xa
jle 0x4925ad
cmp word [esp + 0x24], 1
movzx di, byte [esi]
jne 0x49255c
test di, di
je 0x492590
inc esi
push edi
push esi
lea ecx, [esp + 0x38]
call fcn.0048ac30
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x30]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.00405d10
movsx eax, di
mov ecx, dword [esp + 0x3c]
add esi, eax
movsx eax, word [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x49254b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4925ad
sub ecx, eax
sar ecx, 2
je 0x4925ad
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00497860
call fcn.004a1910
test al, al
je 0x492843
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x492843
mov ecx, ebp
call fcn.004d0210
test eax, eax
je 0x492843
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.00408220
test al, al
je 0x49262d
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, 0x55802c
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, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [ecx + ebx], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.0048a5e0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x128]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
xor esi, esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0xc
mov dword [esp + 0x28], esi
call fcn.00497ad0
test ax, ax
jle 0x492805
xor ebx, ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.00497a10
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4927ec
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4927ec
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.00497a10
mov ecx, eax
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
call fcn.0048a5f0
lea ecx, [esp + 0x28]
call fcn.0048a8d0
lea ecx, [esp + 0x24]
call fcn.0048ab70
lea ecx, [esp + 0x24]
mov ebp, eax
xor esi, esi
call fcn.0048ab50
test ax, ax
jle 0x49270f
lea edi, [esp + 0x128]
xor eax, eax
mov al, byte [esi + ebp]
push eax
push str._.2X
push edi
call fcn.00514b75
add esp, 0xc
lea ecx, [esp + 0x24]
inc esi
add edi, 3
call fcn.0048ab50
movsx ecx, ax
cmp esi, ecx
jl 0x4926e7
mov edi, str.Ans:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00408220
test al, al
je 0x492755
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.Ans:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x531160]
sub ecx, edx
cmp ecx, esi
ja 0x49277d
call fcn.00514140
test esi, esi
jbe 0x4927c6
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.00408220
test al, al
je 0x4927c6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x128]
lea edi, [edx + eax]
mov eax, ecx
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, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4927d3
mov eax, 0x53115c
mov edx, dword [esp + 0x44]
push 0
push eax
mov ecx, dword [edx + 0x10]
call fcn.004aad20
mov esi, dword [esp + 0x28]
inc ebx
jmp 0x492678
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.00497ad0
movsx eax, ax
cmp esi, eax
jl 0x492676
lea ecx, [esp + 0x24]
mov byte [esp + 0x530], 0xb
call fcn.0048a720
mov eax, dword [esp + 0x18]
mov byte [esp + 0x530], 0xa
test eax, eax
je 0x492843
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49283a
cmp al, 0xff
je 0x49283a
dec al
mov byte [ecx], al
jmp 0x492843
push ecx
call fcn.00514120
add esp, 4
mov esi, dword [esp + 0x538]
mov cl, byte [esp + 0x48]
mov byte [esi], cl
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x49285c
xor eax, eax
jmp 0x492865
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x49286b
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
mov edx, dword [esp + 0x54]
add esp, 4
mov dword [esi + 4], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x58]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x534], 0xd
call fcn.00415300
mov dl, byte [esp + 0x68]
mov eax, dword [esp + 0x3c]
mov byte [edi + 0x10], dl
mov edi, dword [esp + 0x38]
cmp edi, eax
mov dword [esp + 0x2c], 1
mov byte [esp + 0x530], 9
mov ebx, eax
je 0x4928e0
mov ecx, edi
call fcn.0048a720
add edi, 4
cmp edi, ebx
jne 0x4928ce
mov edi, dword [esp + 0x38]
push edi
call fcn.00514120
xor eax, eax
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x530], 1
call fcn.0048a720
lea ecx, [esp + 0x48]
mov byte [esp + 0x530], 0
call fcn.004975f0
mov ecx, dword [esp + 0x528]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x524
ret 0xc