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

Disassembly:
push 0xffffffffffffffff
push 0x49eefb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x514
mov eax, dword [esp + 0x530]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [esp + 0x53c]
push esi
mov dword [esp + 0x44], ecx
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0
mov dword [ebx + 0xc], 0
mov dword [esp + 0x44], eax
call fcn.00473990
mov byte [0x4af2a0], 3
mov al, byte [ebx + 4]
test al, al
mov dword [esp + 0x52c], 1
jne 0x479a5a
mov edi, dword [ebx + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x1c], edx
call fcn.00484620
test al, al
je 0x479c5f
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x479c5f
call fcn.00482e30
test eax, eax
je 0x479c5f
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00401bb0
mov edi, str.CCommWithEcu::AddressCodeEnter_
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.0040aba0
test al, al
je 0x479ad6
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.CCommWithEcu::AddressCodeEnter_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
mov ecx, dword [esp + 0x538]
lea eax, [esp + 0x70]
push 0xa
and ecx, 0xff
push eax
push ecx
mov byte [esp + 0x538], 2
call fcn.0048ea44
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.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov eax, dword [esp + 0x53c]
lea edx, [esp + 0x70]
push 0xa
and eax, 0xffff
push edx
push eax
call fcn.0048ea44
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.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov ecx, dword [esp + 0x544]
mov edx, dword [esp + 0x540]
push ecx
push edx
lea eax, [esp + 0x78]
push str._.2f
push eax
call fcn.0048dfde
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov edi, 0x4aefd4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aefd4
lea ecx, [esp + 0x1c]
call fcn.00430fa0
movsx eax, word [esp + 0x548]
lea edx, [esp + 0x70]
push 0xa
push edx
push eax
call fcn.0048ea44
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.00430fa0
mov edi, 0x4aec48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4aec48
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x479c41
mov eax, 0x4a014c
mov ecx, dword [ebx + 0x10]
push 0
push eax
call fcn.004835e0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x530], 1
call fcn.00401bb0
mov ecx, dword [ebx + 0x1c]
fld qword [esp + 0x540]
fcom qword [0x4a01d0]
mov byte [ecx], 2
mov edx, dword [ebx + 0x1c]
mov cl, byte [esp + 0x538]
mov byte [edx + 1], 4
mov eax, dword [ebx + 0x1c]
mov byte [eax + 2], cl
xor cl, cl
fnstsw ax
mov byte [esp + 0x13], cl
test ah, 0x41
jne 0x479cac
fmul qword [0x4a0288]
fcom qword [0x4a01d0]
inc cl
fnstsw ax
test ah, 0x41
je 0x479c93
mov byte [esp + 0x13], cl
fcom qword [0x4a0280]
fnstsw ax
test ah, 1
je 0x479cd2
fmul qword [0x4a01d0]
fcom qword [0x4a0280]
dec cl
fnstsw ax
test ah, 1
jne 0x479cb9
mov byte [esp + 0x13], cl
fmul qword [0x4a0288]
call fcn.0048e164
mov esi, dword [ebx + 0x1c]
mov cl, byte [esp + 0x13]
xor edx, edx
inc cl
mov dl, ah
mov byte [esi + 3], dl
mov edx, dword [ebx + 0x1c]
mov byte [edx + 4], al
mov eax, dword [ebx + 0x1c]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x53c]
mov edx, dword [ebx + 0x1c]
xor ecx, ecx
mov cl, ah
and eax, 0xffff
and eax, 0x800000ff
mov byte [edx + 6], cl
jns 0x479d1d
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebx + 0x1c]
movsx ebp, word [esp + 0x548]
mov byte [ecx + 7], al
mov eax, ebp
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebx + 0x1c]
sar eax, 8
mov byte [edx + 8], al
mov eax, ebp
and eax, 0x800000ff
jns 0x479d4f
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebx + 0x1c]
mov byte [ecx + 9], al
mov al, byte [ebx + 4]
test al, al
je 0x479e0e
lea ecx, [esp + 0x70]
call fcn.00473990
lea ecx, [esp + 0x70]
mov byte [esp + 0x52c], 3
call fcn.00473f90
mov ebp, dword [ebx + 0x1c]
lea ecx, [ebx + 0x20]
add ebp, 0xa
lea edx, [esp + 0x44]
mov dword [ebx + 0x1c], ebp
mov eax, dword [ecx + 8]
push edx
push 1
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 2
call fcn.0047db00
mov esi, dword [esp + 0x534]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call fcn.00425ee0
lea ecx, [esp + 0x80]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0x530], 4
call fcn.0040ff40
mov dl, byte [esp + 0x90]
mov dword [esp + 0x40], 1
mov byte [edi + 0x10], dl
lea ecx, [esp + 0x70]
mov byte [esp + 0x52c], 1
call fcn.00473a90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x52c], 0
call fcn.00473a90
mov eax, esi
jmp 0x47aa2f
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx]
push 0xa
push eax
call fcn.00484c00
mov edi, dword [ebx + 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 ecx, dword [ebx + 0x18]
push ecx
mov ecx, dword [ebx]
call fcn.00484e10
test eax, eax
jne 0x47a583
mov dl, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00401bb0
mov eax, dword [esp + 0x538]
mov byte [esp + 0x52c], 5
and eax, 0xff
push eax
lea eax, [esp + 0x9c]
push str.BYTE_ucAddressCode__0x_02X_
push eax
call fcn.0048dfde
lea edi, [esp + 0xa4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov edi, str._n__W_UINT16_ui16Parameter_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._n__W_UINT16_ui16Parameter_
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov bl, byte [esp + 0x53c]
xor al, al
test bl, 1
je 0x479eed
mov edi, str.ACE_BPS_AUTO_RECOGNIZE
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.ACE_BPS_AUTO_RECOGNIZE
lea ecx, [esp + 0x1c]
call fcn.00430fa0
mov al, 1
test bl, 2
je 0x479fd9
test al, al
je 0x479f65
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4a0148]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x479f20
call fcn.0048d50b
test esi, esi
jbe 0x479f65
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [eax + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x479f65
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x4aef58
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.0040ab80
mov edi, str.ACE_KW2_REVERSE_TO_ECU
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 [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x479f8b
call fcn.0048d50b
test esi, esi
jbe 0x479fd0
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [edx + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x479fd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, str.ACE_KW2_REVERSE_TO_ECU
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
mov bl, byte [esp + 0x53c]
mov al, 1
test bl, 4
je 0x47a0c3
test al, al
je 0x47a050
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a00b
call fcn.0048d50b
test esi, esi
jbe 0x47a050
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a050
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x4aef58
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov edi, str.ACE_GET_ADDRESS_REVERSE_FROM_ECU
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a075
call fcn.0048d50b
test esi, esi
jbe 0x47a0ba
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a0ba
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.ACE_GET_ADDRESS_REVERSE_FROM_ECU
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov bl, byte [esp + 0x53c]
mov al, 1
test bl, 8
je 0x47a1ad
test al, al
je 0x47a13a
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a0f5
call fcn.0048d50b
test esi, esi
jbe 0x47a13a
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a13a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x4aef58
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov edi, str.ACE_RECEIVE_KW5
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a15f
call fcn.0048d50b
test esi, esi
jbe 0x47a1a4
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a1a4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.ACE_RECEIVE_KW5
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov bl, byte [esp + 0x53c]
mov al, 1
test bl, 0x10
je 0x47a297
test al, al
je 0x47a224
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a1df
call fcn.0048d50b
test esi, esi
jbe 0x47a224
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a224
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x4aef58
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov edi, str.ACE_RECEIVE_ONE_FRAME
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a249
call fcn.0048d50b
test esi, esi
jbe 0x47a28e
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a28e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.ACE_RECEIVE_ONE_FRAME
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov bl, byte [esp + 0x53c]
mov al, 1
test bl, 0x80
je 0x47a378
test al, al
je 0x47a30e
mov edi, 0x4aef58
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a2c9
call fcn.0048d50b
test esi, esi
jbe 0x47a30e
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.0040aba0
test al, al
je 0x47a30e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, 0x4aef58
lea edi, [eax + edx]
mov edx, ecx
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 + 0x18]
call fcn.0040ab80
mov edi, str.ACE_CLOSE_TRIGGER_CHANNEL
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4a0148]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x47a333
call fcn.0048d50b
test esi, esi
jbe 0x47a378
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [eax + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x47a378
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.ACE_CLOSE_TRIGGER_CHANNEL
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.0040ab80
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0xa0]
push str.___n__W_FLOAT_fBps____9.1f_bps
push eax
call fcn.0048dfde
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x47a3bf
call fcn.0048d50b
test esi, esi
jbe 0x47a406
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [edx + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x47a406
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
push ebp
lea eax, [esp + 0x9c]
push str.___n__W_INT16_i16ReverseKw2TimeInterval___d_mS
push eax
call fcn.0048dfde
lea edi, [esp + 0xa4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x47a444
call fcn.0048d50b
test esi, esi
jbe 0x47a48b
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebx, [edx + esi]
push ebx
call fcn.0040aba0
test al, al
je 0x47a48b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x9c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040ab80
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x38], esp
push 0
mov ecx, ebx
mov byte [ebx], al
call fcn.00401bb0
mov edi, str.CCommWithEcu::AddressCodeEnter__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.0040aba0
test al, al
je 0x47a4e2
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, str.CCommWithEcu::AddressCodeEnter__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040ab80
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x550], 6
call fcn.0040a690
push 0xfffffffffffffff6
lea ecx, [esp + 0x120]
mov byte [esp + 0x550], 5
call fcn.00481f40
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x74], cx
mov bl, 7
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x530], bl
mov byte [esp + 0x7c], dl
call fcn.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x78]
push eax
push 0
push edi
call fcn.0040a8e0
add esi, 0x18
lea ecx, [esp + 0x88]
push esi
mov byte [esp + 0x530], 8
call fcn.0040a690
lea ecx, [esp + 0x70]
push 0x4abb48
push ecx
mov dword [esp + 0x78], 0x4a0270
mov byte [esp + 0x534], bl
call fcn.0048e553
mov esi, dword [ebx + 0x18]
add esi, 8
movzx ax, byte [esi]
inc esi
test ax, ax
jne 0x47a60b
mov esi, dword [esp + 0x534]
mov dl, byte [esp + 0x4c]
lea ecx, [esp + 0x4c]
mov byte [esi], dl
call fcn.00426100
test eax, eax
jge 0x47a5af
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
mov ecx, dword [esp + 0x54]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x58]
push eax
push ecx
mov ecx, esi
call fcn.004261c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x5c]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x530], 9
call fcn.00474fc0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 1
mov byte [esp + 0x52c], 0
call fcn.00473a90
mov eax, esi
jmp 0x47aa2f
mov cl, byte [esp + 0x13]
mov byte [esp + 0x30], cl
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
movsx eax, ax
xor ebp, ebp
cmp eax, ecx
mov byte [esp + 0x52c], 0xa
mov dword [esp + 0x28], eax
jle 0x47a6b1
movzx di, byte [esi]
inc esi
test di, di
jle 0x47a694
lea ecx, [esp + 0x24]
call fcn.0046eb20
push edi
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x534], 0xb
call fcn.0046f0b0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x24]
push edx
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.00401c40
movsx ecx, di
add esi, ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x52c], 0xa
call fcn.0046ec60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
inc ebp
cmp ebp, eax
jl 0x47a636
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47a6b1
sub ecx, eax
sar ecx, 2
je 0x47a6b1
lea edx, [esp + 0x30]
lea ecx, [esp + 0x4c]
push edx
call fcn.00473d00
call fcn.00484620
test al, al
je 0x47a957
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x47a957
call fcn.00482e30
test eax, eax
je 0x47a957
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call fcn.00401bb0
mov edi, 0x4b63f0
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.0040aba0
test al, al
je 0x47a72f
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4b63f0
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 ecx, [esp + 0x2c]
mov byte [esp + 0x52c], 0xc
call fcn.0046eb20
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x124]
mov byte [esp + 0x124], 0
rep stosd dword es:[edi], eax
xor esi, esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x52c], 0xd
mov dword [esp + 0x28], esi
call fcn.00473f70
test ax, ax
jle 0x47a919
mov dword [esp + 0x24], 0
push esi
lea ecx, [esp + 0x50]
call fcn.00473f60
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47a900
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x24]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x47a900
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00473f60
mov ecx, eax
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x30]
call fcn.0046ee50
lea ecx, [esp + 0x2c]
call fcn.0046eff0
lea ecx, [esp + 0x2c]
mov ebp, eax
xor esi, esi
call fcn.0046efe0
test ax, ax
jle 0x47a81f
lea edi, [esp + 0x124]
xor edx, edx
mov dl, byte [esi + ebp]
push edx
push str._.2X
push edi
call fcn.0048dfde
add esp, 0xc
lea ecx, [esp + 0x2c]
inc esi
add edi, 3
call fcn.0046efe0
movsx eax, ax
cmp esi, eax
jl 0x47a7f7
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.0040aba0
test al, al
je 0x47a865
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 + 0x124]
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 [0x4a0148]
sub ecx, edx
cmp ecx, esi
ja 0x47a88d
call fcn.0048d50b
test esi, esi
jbe 0x47a8d6
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.0040aba0
test al, al
je 0x47a8d6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x124]
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 0x47a8e3
mov eax, 0x4a014c
mov ecx, dword [ebx + 0x10]
push 0
push eax
call fcn.004835e0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
inc eax
mov dword [esp + 0x24], eax
jmp 0x47a780
inc esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], esi
call fcn.00473f70
movsx edx, ax
cmp esi, edx
jl 0x47a778
lea ecx, [esp + 0x2c]
mov byte [esp + 0x52c], 0xc
call fcn.0046ec60
mov eax, dword [esp + 0x18]
mov byte [esp + 0x52c], 0xa
test eax, eax
je 0x47a957
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47a94e
cmp al, 0xff
je 0x47a94e
dec al
mov byte [ecx], al
jmp 0x47a957
push ecx
call fcn.0048d500
add esp, 4
mov ebx, dword [esp + 0x534]
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x4c]
test ecx, ecx
mov byte [ebx], al
jne 0x47a970
xor eax, eax
jmp 0x47a979
mov eax, dword [esp + 0x54]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x47a97f
xor eax, eax
shl eax, 4
push eax
call fcn.0048db76
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
add esp, 4
cmp edi, ecx
mov dword [ebx + 4], eax
mov ebp, ecx
mov esi, eax
je 0x47a9b2
push edi
push esi
call fcn.004272d0
add edi, 0x10
add esp, 8
add esi, 0x10
cmp edi, ebp
jne 0x47a99e
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
lea ecx, [esp + 0x5c]
lea esi, [ebx + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0x530], 0xe
call fcn.0047d8e0
mov dl, byte [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov byte [esi + 0x10], dl
mov esi, dword [esp + 0x34]
cmp esi, eax
mov dword [esp + 0x40], 1
mov byte [esp + 0x52c], 1
mov edi, eax
je 0x47aa06
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x47a9f4
mov esi, dword [esp + 0x34]
push esi
call fcn.0048d500
xor eax, eax
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x52c], al
call fcn.00473a90
mov eax, ebx
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x520
ret 0x18