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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x2b60f74]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [esp + 0xc], 0x2443831
mov edi, edi
cmp eax, 0x47
jne 0x4151ae
push 0
call esi
push 0
push 0
push 0
push 0
call edi
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x4039e4
mov dword [esp + 0x6c], 0
call ebx
dec dword [esp + 0xc]
mov eax, dword [0x436ac8]
mov dword [0x2b60f74], eax
jne 0x415170
mov dword [esp + 0x5c], 0x38b05ea3
mov dword [esp + 0x3c], 0x6c423046
mov dword [esp + 0x14], 0x449b0008
mov dword [esp + 0x34], 0x45c2b1b9
mov dword [esp + 0x58], 0x7c0eeb2c
mov dword [esp + 0x10], 0x22361c3d
mov dword [esp + 0x2c], 0x44839ec2
mov dword [esp + 0x20], 0x59d82bee
mov dword [esp + 0x4c], 0x4c9bb45d
mov dword [esp + 0x24], 0x2228868c
mov dword [esp + 0x30], 0x392ca248
mov dword [esp + 0x18], 0x7c6293aa
mov dword [esp + 0x50], 0x42c6a7ec
mov dword [esp + 0x38], 0x2e4d9f95
mov dword [esp + 0x48], 0x4c781db0
mov dword [esp + 0x28], 0x12a7ead5
mov dword [esp + 0x1c], 0x6db90564
mov dword [esp + 0x40], 0x696f84b5
mov dword [esp + 0x54], 0x457ec49f
mov dword [esp + 0x44], 0x1d34db0f
add dword [esp + 0x5c], 0x3778e574
sub dword [esp + 0x3c], 0x12a2b5f7
mov eax, 0x3ff457cf
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x14], 0x33ae025b
sub dword [esp + 0x3c], 0x4a98fce6
sub dword [esp + 0x5c], 0x176f066d
mov eax, 0x7d94d069
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x58], 0x449a213f
add dword [esp + 0x14], 0x5652520b
add dword [esp + 0x5c], 0x532bf2a5
sub dword [esp + 0x10], 0x4f940077
sub dword [esp + 0x5c], 0x4d1ecc19
sub dword [esp + 0x58], 0x1d5b672b
sub dword [esp + 0x3c], 0x14c6dc45
add dword [esp + 0x2c], 0x2e19dbfd
add dword [esp + 0x14], 0x620dec8f
mov eax, 0x1e67fbb7
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x58], 0x334202df
sub dword [esp + 0x14], 0x5a80ffb3
mov eax, 0x638519aa
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x3c], 0x308b26ea
sub dword [esp + 0x5c], 0x436b06ab
mov eax, 0x46358ee8
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], 0x68e9f57f
mov eax, 0x1b38d7cf
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x5c], 0x30214b12
add dword [esp + 0x5c], 0x1878e4b1
mov eax, 0x39ff28d9
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
sub dword [esp + 0x14], 0x33ea27f8
mov eax, 0xd1aa921
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov eax, 0x49d8c203
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
sub dword [esp + 0x3c], 0x37256ecc
add dword [esp + 0x50], 0x52221440
mov eax, 0x74f048c7
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, 0x64746a13
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov eax, 0x51a40c88
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, 0x6ef59b11
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, 0x425eae2d
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub dword [esp + 0x18], 0x788a4edc
sub dword [esp + 0x50], 0x7b1f9dc
sub dword [esp + 0x34], 0x77cbd903
add dword [esp + 0x30], 0x72dde29f
add dword [esp + 0x30], 0x432c44b0
sub dword [esp + 0x5c], 0x4b39d1bb
sub dword [esp + 0x30], 0x4a0db89c
add dword [esp + 0x4c], 0x4cded9c4
mov eax, 0x3e60bf1c
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
sub dword [esp + 0x2c], 0x5e7303bc
add dword [esp + 0x24], 0x1db89cce
mov eax, 0x52b0ca20
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov edx, dword [0x436abc]
mov dword [0x2b61388], edx
call fcn.00414d70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10