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

Disassembly:
push 0xffffffffffffffff
push 0x4a4f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x20]
push ebx
mov dword [esp + 0x68], ebx
call fcn.00475930
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00475930
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 2
call fcn.00475930
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00475930
mov al, byte [esp + 0x80]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov cl, byte [esp + 0x80]
push ebx
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 5
call fcn.0041ba60
push 8
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 6
mov byte [esp + 0x16], bl
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x24]
call fcn.00475ae0
push 0x41
lea ecx, [esp + 0x20]
call fcn.00475ce0
mov dl, byte [0x4c4564]
lea ecx, [esp + 0x1c]
push edx
call fcn.00475ce0
push 0x4c452c
lea ecx, [esp + 0x20]
call fcn.00475a90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
call fcn.00475a90
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00475910
sub esp, 0x10
lea eax, [esp + 0x27]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push str.ECU0D.DB
mov byte [esp + 0x80], 7
call fcn.0041b350
mov byte [esp + 0x78], 6
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x4c4560]
call fcn.0042cec0
cmp ax, bx
jne 0x416ee8
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, edi
mov byte [esp + 0x64], 4
je 0x416e6e
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x416e5b
mov esi, dword [esp + 0x30]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.00475a40
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.00475a40
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x417094
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x416ed4
jmp 0x417090
mov edi, dword [esp + 0x7c]
cmp edi, ebx
jge 0x416ef7
mov byte [esp + 0x12], 1
neg edi
push 0xa
lea ecx, [esp + 0x70]
call fcn.0041b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00475910
lea ecx, [esp + 0x18]
call fcn.00475ae0
push 1
lea ecx, [esp + 0x18]
call fcn.00475c70
movzx bp, al
push ebx
lea ecx, [esp + 0x18]
shl ebp, 8
call fcn.00475c70
xor dx, dx
push 3
mov dl, al
lea ecx, [esp + 0x18]
add ebp, edx
call fcn.00475c70
movzx si, al
push 2
lea ecx, [esp + 0x18]
shl esi, 8
call fcn.00475c70
movzx ax, al
add esi, eax
push edi
sub esi, ebp
lea ecx, [esp + 0x1c]
inc esi
call fcn.00475ce0
mov ecx, edi
sar ecx, 8
push ecx
lea ecx, [esp + 0x1c]
call fcn.00475ce0
mov edx, edi
lea ecx, [esp + 0x18]
sar edx, 0x10
push edx
call fcn.00475ce0
sar edi, 0x18
push edi
lea ecx, [esp + 0x1c]
call fcn.00475ce0
lea eax, [esp + 0x3c]
lea edx, [esp + 0x2c]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.0041b450
push esi
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x84], 8
call fcn.00475910
mov ecx, dword [0x4c4550]
mov byte [esp + 0x80], 6
call fcn.004378b0
cmp dword [esp + 0x44], ebx
jne 0x4170a5
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 5
call fcn.0041ba60
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, edi
mov byte [esp + 0x64], 4
je 0x41701f
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x41700c
mov esi, dword [esp + 0x30]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.00475a40
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.00475a40
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x417094
push ebx
mov ecx, esi
call fcn.0041cb80
add esi, 4
cmp esi, edi
jne 0x417081
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
add esp, 4
xor ax, ax
jmp 0x4172e6
cmp byte [esp + 0x12], 1
jne 0x4171f7
cmp dword [esp + 0x40], ebx
je 0x4170c5
lea ecx, [esp + 0x3c]
call fcn.0041b9e0
mov eax, dword [esp + 0x40]
jmp 0x4170ca
mov eax, 0x4ad138
cmp byte [eax], 0x2d
jne 0x4171b4
mov edi, 0x4bc1b0
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x84], esi
call fcn.0041c2e0
test al, al
je 0x417122
mov edi, dword [ebp + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bc1b0
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]
mov ecx, ebp
call fcn.0041c2c0
mov eax, dword [esp + 0x44]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x7c], esi
jbe 0x41720f
cmp dword [esp + 0x40], ebx
je 0x41714f
lea ecx, [esp + 0x3c]
call fcn.0041b9e0
mov ecx, dword [esp + 0x40]
lea eax, [ecx + esi]
jmp 0x417154
mov eax, 0x4ad138
mov dl, byte [eax]
mov eax, dword [0x4ad134]
mov byte [esp + 0x80], dl
mov edx, dword [ebp + 8]
sub eax, edx
cmp eax, 1
ja 0x417171
call fcn.0049813b
mov edi, dword [ebp + 8]
push ebx
inc edi
mov ecx, ebp
push edi
call fcn.0041c2e0
test al, al
je 0x41719e
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add esi, ecx
push edi
movsx ecx, byte [esp + 0x84]
mov ch, cl
mov byte [esi], cl
mov ecx, ebp
call fcn.0041c2c0
mov eax, dword [esp + 0x7c]
inc eax
movsx esi, ax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
cmp eax, esi
ja 0x417137
jmp 0x41720f
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
push 0x4bc1b0
push ecx
call fcn.0041c900
add esp, 0xc
mov edx, dword [0x4ad134]
mov ecx, dword [esp + 0x80]
push edx
push ebx
push eax
mov byte [esp + 0x70], 9
call fcn.0041b7e0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 6
call fcn.0041ba60
jmp 0x41720f
mov eax, dword [0x4ad134]
lea ecx, [esp + 0x3c]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.0041b7e0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x417234
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41722b
cmp al, 0xff
je 0x41722b
dec al
mov byte [ecx], al
jmp 0x417234
push ecx
call fcn.00498130
add esp, 4
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
cmp esi, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64], 4
mov edi, eax
je 0x417265
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x417253
mov esi, dword [esp + 0x30]
push esi
call fcn.00498130
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x64], 3
call fcn.00475a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00475a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.00475a40
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], bl
call fcn.00475a40
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp esi, eax
mov dword [esp + 0x64], 0xffffffff
mov edi, eax
je 0x4172d9
mov ecx, esi
call fcn.00475a40
add esi, 4
cmp esi, edi
jne 0x4172c7
mov esi, dword [esp + 0x70]
push esi
call fcn.00498130
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x18