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

Disassembly:
mov eax, 0x147c
call fcn.00458590
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea esi, [ebp + 0x100]
push ebx
push 0x86
mov ecx, esi
call fcn.004290c0
cmp al, 0xc
jne 0x42cde8
mov al, byte [ebp + 0xea]
mov byte [esp + 0x38], 1
test al, 8
jne 0x42cded
mov byte [esp + 0x38], 0
mov eax, dword [esi]
push str.Samsung
push eax
mov byte [esp + 0x1b], 1
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x42ce15
cmp byte [ebp + 0x12e], 0xa
jne 0x42ce15
mov byte [esp + 0x13], 5
mov ecx, 0x100
or eax, 0xffffffff
lea edi, [esp + 0x88c]
lea esi, [ebp + 0x42d0]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x88c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1494]
mov al, byte [ecx + 0xe0]
test al, al
jne 0x42ce55
mov dword [esp + 0x3c], 0x100
jmp 0x42ce5f
xor dx, dx
mov dl, al
mov word [esp + 0x3c], dx
movzx ax, byte [ebp + 0x121]
movzx cx, byte [ebp + 0x5934]
movzx dx, byte [ebp + 0x152]
imul eax, ecx
imul eax, edx
shl eax, 1
mov ecx, ebp
mov dword [esp + 0x5c], eax
call fcn.0042d760
mov byte [esp + 0x80], al
xor eax, eax
mov al, byte [ebp + 0x98]
mov byte [esp + 0x1c], 0
inc eax
test eax, eax
jle 0x42d4c5
mov ecx, dword [esp + 0x149c]
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
cmp word [ecx], 0xffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], eax
je 0x42d4a0
and eax, 0xffff
mov byte [esp + 0x18], 0
lea eax, [ecx + eax*2]
mov dword [esp + 0x48], eax
mov ax, word [eax]
mov ecx, eax
shr ecx, 0xa
and cl, 7
and eax, 0x3ff
mov byte [esp + 0x54], cl
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xc8c]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x7c]
push edi
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x14b4]
and ecx, 0xff
push 0
push eax
mov ax, word [edx + ecx*2]
mov ecx, dword [esp + 0x14ac]
push eax
push ecx
mov ecx, ebp
call fcn.00422c10
mov edx, dword [esp + 0x48]
mov bl, byte [esp + 0x18]
inc bl
mov ax, word [edx]
mov byte [esp + 0x18], bl
and eax, 0xe000
cmp eax, 0x6000
jg 0x42d120
je 0x42d057
test eax, eax
je 0x42d47a
cmp eax, 0x2000
je 0x42d3a6
cmp eax, 0x4000
jne 0x42d44c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1494]
mov esi, eax
and edi, 0xff
mov byte [ecx + 0xe1], al
and esi, 0xffff
mov eax, 4
sub eax, esi
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x42cfbe
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1494]
and ebx, 0xffff
lea edx, [esp + 0xc8c]
shl ebx, 8
push ebx
lea eax, [esp + 0x490]
push edx
push eax
push ecx
call fcn.00453240
add esp, 0x10
test al, al
jne 0x42d005
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x18]
cmp al, dl
jae 0x42d4d7
jmp 0x42cefc
mov edi, dword [esp + 0x149c]
mov ecx, ebx
shl esi, 8
mov eax, ecx
add esi, edi
lea edi, [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor edx, edx
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48c]
repe cmpsb byte [esi], byte es:[edi]
je 0x42d393
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x18]
cmp cl, al
jae 0x42d4f4
jmp 0x42cefc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1494]
mov esi, eax
and edi, 0xff
mov byte [ecx + 0xe1], al
and esi, 0xffff
mov eax, 4
sub eax, esi
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x42d089
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1494]
and ebx, 0xffff
lea edx, [esp + 0xc8c]
shl ebx, 8
push ebx
lea eax, [esp + 0x490]
push edx
push eax
push ecx
call fcn.00453240
add esp, 0x10
test al, al
jne 0x42d0d0
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x18]
cmp al, dl
jae 0x42d53f
jmp 0x42cefc
mov ecx, ebx
lea edi, [esp + 0x8c]
shl esi, 8
mov eax, ecx
lea esi, [esp + esi + 0x88c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor edx, edx
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48c]
repe cmpsb byte [esi], byte es:[edi]
je 0x42d43c
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x18]
cmp cl, al
jae 0x42d556
jmp 0x42cefc
cmp eax, 0x8000
je 0x42d2c4
cmp eax, 0xa000
jne 0x42d44c
mov ecx, dword [esp + 0x1494]
mov eax, dword [esp + 0x2c]
mov esi, eax
and edi, 0xff
mov byte [ecx + 0xe1], al
mov eax, dword [esp + 0x5c]
and esi, 0xffff
and eax, 0xffff
sub eax, esi
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x42d16c
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1494]
and edi, 0xffff
lea edx, [esp + 0xc8c]
mov ebx, edi
lea eax, [esp + 0x48c]
shl ebx, 8
push ebx
push edx
push eax
push ecx
mov dword [esp + 0x74], ebx
call fcn.00453240
add esp, 0x10
test al, al
jne 0x42d1b9
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x18]
cmp al, dl
jae 0x42d56d
jmp 0x42cefc
cmp word [esp + 0x14], 0
jbe 0x42d295
lea eax, [esp + 0x8c]
mov ebx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edi
mov al, byte [ebp + 0x121]
mov edi, dword [esp + 0x34]
imul byte [ebp + 0x5934]
imul byte [ebp + 0x152]
imul byte [esp + 0x1490]
mov cl, al
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add cl, al
mov byte [esp + 0x7c], cl
mov ecx, dword [ebp + 0x5938]
mov eax, dword [esp + 0x7c]
and eax, 0xff
mov edx, eax
shl edx, 7
add edx, eax
lea eax, [eax + edx*2]
shl eax, 1
add ecx, eax
mov dx, word [ecx + 2]
mov word [ecx + 0x202], dx
mov ecx, dword [ebp + 0x5938]
add ecx, eax
mov dx, word [ecx + 4]
mov word [ecx + 0x204], dx
mov edx, dword [ebp + 0x5938]
mov ecx, ebx
and ecx, 1
shl ecx, 8
add ecx, edx
inc ebx
lea esi, [ecx + eax + 6]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xffff
mov word [edx + eax + 0x202], cx
mov edx, dword [ebp + 0x5938]
mov word [eax + edx + 0x204], cx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
add ecx, 0x100
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
jne 0x42d1d6
mov ebx, dword [esp + 0x64]
mov ecx, ebx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42d45c
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x18]
cmp al, cl
jae 0x42d584
jmp 0x42cefc
mov edx, dword [esp + 0x1494]
mov eax, dword [esp + 0x24]
mov esi, eax
and edi, 0xff
mov byte [edx + 0xe1], al
mov eax, dword [esp + 0x3c]
and esi, 0xffff
and eax, 0xffff
sub eax, esi
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x42d2fa
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1494]
and ebx, 0xffff
lea eax, [esp + 0xc8c]
shl ebx, 8
push ebx
lea ecx, [esp + 0x490]
push eax
push ecx
push edx
call fcn.00453240
add esp, 0x10
test al, al
jne 0x42d341
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x18]
cmp cl, al
jae 0x42d59b
jmp 0x42cefc
mov edx, dword [esp + 0x1498]
mov ecx, ebx
shl esi, 8
add esi, edx
mov edx, ecx
lea edi, [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48c]
repe cmpsb byte [esi], byte es:[edi]
je 0x42d46c
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x18]
cmp al, cl
jae 0x42d5b2
jmp 0x42cefc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x28], eax
jmp 0x42d47a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1494]
mov edx, eax
and edi, 0xff
mov byte [ecx + 0xe1], al
and edx, 0xffff
mov eax, 1
sub eax, edx
cmp eax, edi
mov ebx, eax
jl 0x42d3d4
mov ebx, edi
lea eax, [esp + 0xc8c]
lea ecx, [esp + 0x48c]
push eax
push ecx
call fcn.004530f0
add esp, 8
test al, al
je 0x42d50b
mov eax, ebx
mov esi, dword [esp + 0x1494]
and eax, 0xffff
lea edi, [esp + 0x8c]
shl eax, 8
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea edi, [esp + 0x8c]
lea esi, [esp + 0x48c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x42d528
add dword [esp + 0x20], ebx
jmp 0x42d47a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x30], eax
jmp 0x42d47a
push 0
push 0
push str.ERROR
call sub.MFC42.DLL_AfxMessageBox
jmp 0x42d47a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x2c], eax
jmp 0x42d47a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x149c]
inc eax
mov edx, eax
mov dword [esp + 0x44], eax
and edx, 0xffff
cmp word [ecx + edx*2], 0xffff
jne 0x42ced3
xor ebx, ebx
mov al, byte [esp + 0x1c]
inc al
mov byte [esp + 0x1c], al
xor eax, eax
mov al, byte [ebp + 0x98]
mov ecx, dword [esp + 0x1c]
inc eax
and ecx, 0xff
cmp ecx, eax
jl 0x42cea7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x147c
ret 0x14
lea edx, [esp + 0x88]
push 0x48d780
push edx
mov dword [esp + 0x90], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x6c]
push 0x48d780
push eax
mov dword [esp + 0x74], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x84]
push 0x48d780
push ecx
mov dword [esp + 0x8c], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea edx, [esp + 0x4c]
push 0x48d780
push edx
mov dword [esp + 0x54], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x50]
push 0x48d780
push eax
mov dword [esp + 0x58], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x58]
push 0x48d780
push ecx
mov dword [esp + 0x60], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea edx, [esp + 0x60]
push 0x48d780
push edx
mov dword [esp + 0x68], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x68]
push 0x48d780
push eax
mov dword [esp + 0x70], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x70]
push 0x48d780
push ecx
mov dword [esp + 0x78], 0x60000
call sub.MSVCRT.dll__CxxThrowException
lea edx, [esp + 0x78]
push 0x48d780
push edx
mov dword [esp + 0x80], 0x60000
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop