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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x17
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4259c9
mov edx, dword [esp + 0x6c]
lea ecx, [esp]
call fcn.0043a610
mov edx, dword [esp + 0x78]
lea ecx, [esp + 4]
call fcn.0043a610
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 8]
call fcn.0043a610
push 0x2d
call fcn.0045aa4f
and eax, eax
je 0x425a14
push 0x2d
call fcn.0045ac19
push dword [esp]
call fcn.00442430
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
cmp ebx, 0x1e000
jne 0x425a36
mov dword [esp + 0x10], 0xa00
jmp 0x425a3e
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
add ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 2
mov ebx, dword [esp + 0x20]
add ebx, 0x25
push ebx
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
mov ebx, eax
shl ebx, 8
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 2
mov edi, dword [esp + 0x20]
add edi, 0x27
push edi
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
add ebx, eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
add ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
mov word [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x14]
dec ebx
cmp ebx, dword [esp + 0x24]
jl 0x425bb2
movzx ebx, word [esp + 0x1c]
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 2
mov edi, dword [esp + 0x34]
add edi, edi
add edi, dword [esp + 0x20]
inc edi
push edi
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
xor ebx, eax
mov eax, ebx
mov word [esp + 0x1c], ax
movzx ebx, word [esp + 0x1c]
shl ebx, 1
movzx edi, word [esp + 0x1c]
and edi, 0x8000
sar edi, 0xf
or ebx, edi
mov eax, ebx
mov word [esp + 0x1c], ax
movzx ebx, word [esp + 0x20]
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 2
mov edi, dword [esp + 0x34]
add edi, edi
add edi, dword [esp + 0x20]
inc edi
push edi
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
add ebx, eax
mov eax, ebx
mov word [esp + 0x20], ax
inc dword [esp + 0x24]
jno 0x425ae9
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x48bbfc
push 4
mov eax, dword [0x54e9c4]
push eax
push eax
movzx eax, word [esp + 0x34]
cdq
push edx
push eax
call fcn.00442d30
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.00442620
inc dword [0x54e9c4]
mov eax, dword [0x54e9c4]
push eax
push eax
push 2
mov ebx, dword [esp + 0x24]
add ebx, ebx
add ebx, dword [esp + 0x20]
inc ebx
push ebx
push dword [esp + 0x14]
call fcn.00442360
mov eax, dword [0x54e9c4]
push eax
push eax
push 2
mov ebx, dword [esp + 0x28]
add ebx, ebx
add ebx, dword [esp + 0x24]
add ebx, 3
push ebx
push dword [esp + 0x18]
call fcn.00442360
pop eax
pop edx
pop ecx
mov dword [0x54e9c4], ecx
add ecx, dword [0x5148c0]
add edx, dword [0x5148c0]
call fcn.00462bf0
je 0x425c58
mov dword [esp + 0x18], 1
jmp 0x425d03
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x48bbfc
push 4
mov eax, dword [0x54e9c4]
push eax
push eax
movzx eax, word [esp + 0x38]
cdq
push edx
push eax
call fcn.00442d30
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.00442620
inc dword [0x54e9c4]
mov eax, dword [0x54e9c4]
push eax
push eax
push 2
mov ebx, dword [esp + 0x24]
add ebx, ebx
add ebx, dword [esp + 0x20]
inc ebx
push ebx
push dword [esp + 0x14]
call fcn.00442360
mov eax, dword [0x54e9c4]
push eax
push eax
push 2
mov ebx, dword [esp + 0x28]
add ebx, ebx
add ebx, dword [esp + 0x24]
add ebx, 3
push ebx
push dword [esp + 0x18]
call fcn.00442360
pop eax
pop edx
pop ecx
mov dword [0x54e9c4], ecx
add ecx, dword [0x5148c0]
add edx, dword [0x5148c0]
call fcn.00462bf0
je 0x425cfb
mov dword [esp + 0x18], 2
jmp 0x425d03
mov dword [esp + 0x18], 0
push dword [esp + 0x70]
call fcn.0045a9d6
push dword [esp]
call fcn.00442430
mov ebx, eax
cmp ebx, 0x1e000
jne 0x425df9
push dword [0x54e9c4]
push dword [esp + 4]
call fcn.004315f3
lea eax, [esp + 8]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x48c74c
push 0x58
push 0x48b097
call fcn.00442620
lea eax, [esp + 0x2c]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x1001
push 1
push dword [esp + 0x38]
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x58
push 0x1001
push dword [esp + 0x24]
call fcn.00442360
inc dword [0x54e9c4]
push dword [esp + 0x18]
mov edx, dword [0x5148c0]
add dword [esp + 4], edx
call fcn.00442fe0
lea eax, [esp + 4]
push eax
call fcn.00462b10
push dword [0x54e9c4]
push dword [esp + 4]
push 0x48b097
push str.1600
call fcn.0042fe03
lea eax, [esp + 0xc]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push 0x5000
push 0x1401
push dword [esp + 0x10]
call fcn.00442360
lea eax, [esp + 4]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 4
push 1
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
mov ebx, eax
add ebx, ebx
add ebx, ebx
add ebx, 0x11
mov dword [esp + 0x2c], ebx
mov eax, dword [0x54e9c4]
push eax
push eax
push 0xc
push dword [esp + 0x38]
push dword [esp + 0x10]
call fcn.00442360
lea eax, [esp + 0x34]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push 3
push 0xa
push dword [esp + 0x40]
call fcn.00442360
inc dword [0x54e9c4]
mov edx, 0x48bbf8
pop ecx
mov dword [0x54e9c4], ecx
add ecx, dword [0x5148c0]
call fcn.00462bf0
je 0x425eb5
mov eax, dword [0x54e9c4]
push eax
push eax
push 9
push dword [esp + 0x3c]
call fcn.00442c40
lea eax, [esp + 0x34]
push eax
call fcn.00462b10
mov eax, dword [0x54e9c4]
push eax
push eax
push 0xb
mov ebx, dword [esp + 0x38]
add ebx, 0xc
push ebx
push dword [esp + 0x10]
call fcn.00442360
lea eax, [esp + 0x38]
push eax
call fcn.00462b10
mov dword [esp + 0x38], 0
push dword [esp + 4]
mov edx, 0x48b097
pop ecx
call fcn.00462bf0
jne 0x425f36
mov eax, dword [0x54e9c4]
push eax
push eax
mov edx, str.Flash_Version_n
call fcn.00462b90
mov edx, dword [esp + 0xc]
call fcn.00462b90
inc dword [0x54e9c4]
push dword [esp + 0x40]
push dword [esp + 0x7c]
mov edx, dword [0x5148c0]
add dword [esp + 8], edx
call fcn.0045b7c0
pop dword [0x54e9c4]
inc dword [esp + 0x38]
mov eax, dword [0x54e9c4]
push eax
push eax
mov edx, str.Serial_Number_n
call fcn.00462b90
mov edx, dword [esp + 0x38]
call fcn.00462b90
mov edx, 0x48b3ac
call fcn.00462b90
lea ebp, [0x51a37c]
push ebp
movzx eax, byte [0x51835a]
shl eax, 2
pop ebp
add ebp, eax
mov edx, dword [ebp]
call fcn.00462b90
inc dword [0x54e9c4]
push dword [esp + 0x40]
push dword [esp + 0x7c]
mov edx, dword [0x5148c0]
add dword [esp + 8], edx
call fcn.0045b7c0
pop dword [0x54e9c4]
push 1
push 0xfe0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
push 2
push 0xff0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
inc dword [esp + 0x38]
mov eax, dword [0x54e9c4]
push eax
push eax
mov edx, str.Product_Code_n
call fcn.00462b90
mov edx, dword [esp + 0x3c]
call fcn.00462b90
mov edx, 0x48b3ac
call fcn.00462b90
lea ebp, [0x51a37c]
push ebp
movzx eax, byte [0x51835a]
shl eax, 2
pop ebp
add ebp, eax
mov edx, dword [ebp]
call fcn.00462b90
inc dword [0x54e9c4]
push dword [esp + 0x40]
push dword [esp + 0x7c]
mov edx, dword [0x5148c0]
add dword [esp + 8], edx
call fcn.0045b7c0
pop dword [0x54e9c4]
push 1
push 0xff0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
push 2
push 0xff0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
inc dword [esp + 0x38]
mov edx, 0x48b097
lea ecx, [esp + 0x3c]
call fcn.0043a618
mov dword [esp + 0x24], 0
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [0x54e9c4]
push 2
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
add edi, edi
add ebx, edi
add ebx, 0x18
push ebx
push dword [esp + 0x14]
call fcn.00442360
mov edx, dword [0x5148c0]
add dword [esp], edx
call fcn.004408b4
pop dword [0x54e9c4]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x40]
cmp ebx, 0x1f
jle 0x4260f5
mov ebx, dword [esp + 0x40]
cmp ebx, 0x9f
jge 0x4260f5
mov eax, 1
jmp 0x4260f7
xor eax, eax
and eax, eax
je 0x426127
mov edx, dword [esp + 0x3c]
push dword [0x54e9c4]
call fcn.00462b90
mov eax, dword [0x54e9c4]
push eax
push eax
push dword [esp + 0x4c]
call fcn.00442e60
pop eax
lea eax, [esp + 0x40]
push eax
call fcn.00462b10
jmp 0x426129
jmp 0x426132
inc dword [esp + 0x24]
jmp 0x426096
mov eax, dword [0x54e9c4]
push eax
push eax
mov edx, str.Model_n
call fcn.00462b90
mov edx, dword [esp + 0x44]
call fcn.00462b90
mov edx, 0x48b3ac
call fcn.00462b90
lea ebp, [0x51a37c]
push ebp
movzx eax, byte [0x51835a]
shl eax, 2
pop ebp
add ebp, eax
mov edx, dword [ebp]
call fcn.00462b90
inc dword [0x54e9c4]
push dword [esp + 0x40]
push dword [esp + 0x7c]
mov edx, dword [0x5148c0]
add dword [esp + 8], edx
call fcn.0045b7c0
pop dword [0x54e9c4]
push 1
push 0xff0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
push 2
push 0xff0000
push 1
push dword [esp + 0x44]
push dword [esp + 0x80]
call fcn.0045a6ff
mov ebx, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x38], ebx
push 0x48b097
push 0xffffffff
push dword [esp + 0x78]
call fcn.0045b7c0
push 0x48b097
push 0xffffffff
push dword [esp + 0x78]
call fcn.0045b7c0
push dword [esp + 0x70]
call fcn.00458491
push eax
call fcn.00458576
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
lea ebp, [esp + 0x48]
mov dword [ebp], 0
mov dword [ebp + 4], 0
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x74]
call fcn.0045aa24
mov ebx, eax
dec ebx
push ebx
push 0x1038
push dword [esp + 0x7c]
call fcn.00458491
push eax
call sub.USER32.DLL_SendMessageA
mov ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 4]
mov dword [esp + 0x58], ebx
push dword [0x54e9c4]
push 0x20800
push dword [0x54e9c4]
mov edx, 0x48b00d
call fcn.00462b90
lea ebp, [0x5189e4]
push ebp
movzx eax, byte [0x51835a]
shl eax, 2
pop ebp
add ebp, eax
mov edx, dword [ebp]
call fcn.00462b90
inc dword [0x54e9c4]
mov ebx, dword [esp + 0x64]
dec ebx
push ebx
push 0x21c
lea ebp, [esp + 0x5c]
push dword [ebp + 4]
push 0
push 0x2d
mov edx, dword [0x5148c0]
add dword [esp + 0x14], edx
call fcn.00458e6e
pop dword [0x54e9c4]
push 0xffffff
push 2
push 0x2d
call fcn.004588ef
push dword [esp + 0x44]
call fcn.00458576
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0045d4d2
push dword [esp + 0x70]
call fcn.0045ab4b
xor eax, eax
push dword [esp]
call fcn.00462c80
push dword [esp + 4]
call fcn.00462c80
push dword [esp + 8]
call fcn.00462c80
push dword [esp + 0x28]
call fcn.00462c80
push dword [esp + 0x30]
call fcn.00462c80
push dword [esp + 0x34]
call fcn.00462c80
push dword [esp + 0x3c]
call fcn.00462c80
add esp, 0x5c
pop edi
pop ebx
pop ebp
ret 0x14